diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-07 23:08:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-07 23:08:46 +0000 |
commit | 45c041dda1a4d68c21818f796285b018631d2e0c (patch) | |
tree | 1811c1599a23c012f7295404aaef09bf1b24e3c0 /package/libpng | |
parent | 69148f8d5739b0d71e62640f4388641f09869ca4 (diff) |
set libpng prefix to staging_dir/usr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@811 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libpng')
-rw-r--r-- | package/libpng/Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/package/libpng/Makefile b/package/libpng/Makefile index a4971ddd54..d39dea96cb 100644 --- a/package/libpng/Makefile +++ b/package/libpng/Makefile @@ -32,16 +32,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ - --prefix=/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 \ + --prefix=$(STAGING_DIR)/usr \ --with-zlib=$(STAGING_DIR)/usr/ \ $(DISABLE_NLS) \ ) @@ -55,8 +46,9 @@ $(PKG_BUILD_DIR)/.libs/libpng.so: $(PKG_BUILD_DIR)/.configured $(STAGING_DIR)/usr/lib/libpng.so: $(PKG_BUILD_DIR)/.libs/libpng.so $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(STAGING_DIR)" \ - install-libLTLIBRARIES install-includeHEADERS install-binSCRIPTS + install +# DESTDIR="$(STAGING_DIR)" \ +# install-libLTLIBRARIES install-includeHEADERS install-binSCRIPTS $(PKG_IPK): $(PKG_BUILD_DIR)/.libs/libpng.so $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) |