mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 13:29:21 +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:
parent
84793327bc
commit
7e2599183a
@ -6,7 +6,7 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
# modified 02/05/2010
|
# modified 16/08/2010
|
||||||
# author: jmoore@zedstar.org
|
# author: jmoore@zedstar.org
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
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_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
|
||||||
|
PKG_FIXUP:=libtool
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
@ -40,6 +41,22 @@ TARGET_LDFLAGS+="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
|||||||
# should fix issue with threads
|
# should fix issue with threads
|
||||||
CONFIGURE_ARGS += --without-threads --without-gettext
|
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
|
define Build/Compile
|
||||||
(cd $(PKG_BUILD_DIR); autoreconf --force --install || exit 0);
|
(cd $(PKG_BUILD_DIR); autoreconf --force --install || exit 0);
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user