1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 17:54:39 +02:00

[guile] add development files

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Acked-by: John Moore <jmoore@zedstar.org>
This commit is contained in:
Xiangfu Liu 2010-08-17 09:55:46 +08:00
parent 84793327bc
commit 7e2599183a

View File

@ -6,7 +6,7 @@
# See /LICENSE for more information.
#
# modified 02/05/2010
# modified 16/08/2010
# author: jmoore@zedstar.org
include $(TOPDIR)/rules.mk
@ -19,6 +19,7 @@ PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/guile/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@ -40,6 +41,22 @@ TARGET_LDFLAGS+="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
# should fix issue with threads
CONFIGURE_ARGS += --without-threads --without-gettext
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/include \
$(1)/usr/lib \
$(1)/usr/lib/pkgconfig
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig \
$(1)/usr/lib/
endef
define Build/Compile
(cd $(PKG_BUILD_DIR); autoreconf --force --install || exit 0);
endef