From 640652a244c6916ea5c2a886c52d477d5742e0d8 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 28 Sep 2007 01:45:11 +0000 Subject: add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9052 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/e2fsprogs/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/e2fsprogs/Makefile') diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile index 1bcb6592c9..16102907ae 100644 --- a/package/e2fsprogs/Makefile +++ b/package/e2fsprogs/Makefile @@ -99,10 +99,10 @@ endef define Build/InstallDev $(MAKE) -C $(PKG_BUILD_DIR) \ BUILDCC="$(HOSTCC)" \ - DESTDIR="$(STAGING_DIR)" \ + DESTDIR="$(1)" \ install-libs - $(SED) 's,-I$$$${includedir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/{blkid,com_err,e2p,ext2fs,ss,uuid}.pc - $(SED) 's,-L$$$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/{blkid,com_err,e2p,ext2fs,ss,uuid}.pc + $(SED) 's,-I$$$${includedir},,g' $(1)/usr/lib/pkgconfig/{blkid,com_err,e2p,ext2fs,ss,uuid}.pc + $(SED) 's,-L$$$${libdir},,g' $(1)/usr/lib/pkgconfig/{blkid,com_err,e2p,ext2fs,ss,uuid}.pc endef define Build/UninstallDev -- cgit v1.2.3