1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 02:50:49 +02:00

set libgd prefix to staging_dir/usr

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@812 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-05-07 23:10:47 +00:00
parent 45c041dda1
commit 25fbdf3406

View File

@ -36,15 +36,6 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.unpacked
--host=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \ --build=$(GNU_HOST_NAME) \
--prefix="$(STAGING_DIR)/usr" \ --prefix="$(STAGING_DIR)/usr" \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib \
--datadir=/usr/share \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-rpath \ --disable-rpath \
--without-x \ --without-x \
--with-png=$(STAGING_DIR)/usr \ --with-png=$(STAGING_DIR)/usr \
@ -62,9 +53,7 @@ $(PKG_BUILD_DIR)/.libs/libgd.so: $(PKG_BUILD_DIR)/.configured
$(STAGING_DIR)/usr/lib/libgd.so: $(PKG_BUILD_DIR)/.libs/libgd.so $(STAGING_DIR)/usr/lib/libgd.so: $(PKG_BUILD_DIR)/.libs/libgd.so
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(STAGING_DIR)" \
install install
rm -f $(STAGING_DIR)/usr/lib/libgd*.la
$(PKG_IPK): $(PKG_BUILD_DIR)/.libs/libgd.so $(PKG_IPK): $(PKG_BUILD_DIR)/.libs/libgd.so
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) libgd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) libgd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)