From: Schantl Stefan Date: Sun, 14 Mar 2010 19:42:52 +0000 (+0100) Subject: squashfs-tools: Clean up naoki-makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7a61e073317241ea6b335cf1564a773171dba9;p=ipfire-3.x.git squashfs-tools: Clean up naoki-makefile. * Can“t remove overwriting of STAGE_BUILD and STAGE_INSTALL. * Add fixing of libtool rpath. * Add build dependency zlib. --- diff --git a/pkgs/core/squashfs-tools/squashfs-tools.nm b/pkgs/core/squashfs-tools/squashfs-tools.nm index e440b2ca1..defdd16b4 100644 --- a/pkgs/core/squashfs-tools/squashfs-tools.nm +++ b/pkgs/core/squashfs-tools/squashfs-tools.nm @@ -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