set libgd prefix to staging_dir/usr
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 7 May 2005 23:10:47 +0000 (23:10 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 7 May 2005 23:10:47 +0000 (23:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@812 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/libgd/Makefile

index 87fb49b..e391d03 100644 (file)
@@ -36,15 +36,6 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.unpacked
                        --host=$(GNU_TARGET_NAME) \
                        --build=$(GNU_HOST_NAME) \
                        --prefix="$(STAGING_DIR)/usr" \
                        --host=$(GNU_TARGET_NAME) \
                        --build=$(GNU_HOST_NAME) \
                        --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 \
                        --without-x \
                        --with-png=$(STAGING_DIR)/usr \
                        --disable-rpath \
                        --without-x \
                        --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
        $(MAKE) -C $(PKG_BUILD_DIR) \
 
 $(STAGING_DIR)/usr/lib/libgd.so: $(PKG_BUILD_DIR)/.libs/libgd.so
        $(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
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) libgd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
 
 $(PKG_IPK): $(PKG_BUILD_DIR)/.libs/libgd.so
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) libgd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
This page took 0.030526 seconds and 4 git commands to generate.