set libgd prefix to staging_dir/usr
authorFelix Fietkau <nbd@openwrt.org>
Sat, 7 May 2005 23:10:47 +0000 (23:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 7 May 2005 23:10:47 +0000 (23:10 +0000)
SVN-Revision: 812

openwrt/package/libgd/Makefile

index 87fb49ba9b9988306d3565a5ef912e92b5d0448f..e391d030a181f65fd7f361779e67a9b0758cf499 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" \
-                       --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 \
@@ -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) \
-       DESTDIR="$(STAGING_DIR)" \
        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)