]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
squashfs-tools: Clean up naoki-makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Sun, 14 Mar 2010 19:42:52 +0000 (20:42 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Sun, 14 Mar 2010 19:42:52 +0000 (20:42 +0100)
* CanĀ“t remove overwriting of STAGE_BUILD and STAGE_INSTALL.
* Add fixing of libtool rpath.
* Add build dependency zlib.

pkgs/core/squashfs-tools/squashfs-tools.nm

index e440b2ca194296644d0492fb094dbcf31f099725..defdd16b4d53fb4bb27ac8b4574b1482be5c2d7c 100644 (file)
@@ -34,19 +34,20 @@ PKG_URL        = http://squashfs.sf.net/
 PKG_LICENSE    = GPLv2+
 PKG_SUMMARY    = Utility for the creation of squashfs filesystems.
 
+PKG_PACKAGES  += $(PKG_NAME_REAL)-devel
+
 define PKG_DESCRIPTION
        Squashfs is a highly compressed read-only filesystem for Linux.
 endef
 
-PKG_TARBALL    = squashfs$(PKG_VER).tar.gz
+PKG_BUILD_DEPS += zlib
 
-###############################################################################
-# Installation Details
-###############################################################################
+PKG_TARBALL    = squashfs$(PKG_VER).tar.gz
 
 define STAGE_BUILD
                mv /usr/src/squashfs4.0 $(DIR_APP)
                cd $(DIR_APP)/$(PKG_NAME) && sed -e "s/^CFLAGS := /& $(CFLAGS) /" -i Makefile
+               $(DO_FIX_LIBTOOL)
                cd $(DIR_APP)/$(PKG_NAME) && make $(PARALLELISMFLAGS)
 endef