]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
file: Update to 5.07.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 25 Jun 2011 22:29:14 +0000 (00:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 25 Jun 2011 22:29:14 +0000 (00:29 +0200)
Linking zlib and cleaned up the makefile a bit.

pkgs/file/file.nm

index bc95461ee11ecefb30c422873cf44e2a3cc1a0b4..aebd060cba49a0b17795993f65057101e03f8478 100644 (file)
@@ -25,7 +25,7 @@
 include $(PKGROOT)/Include
 
 PKG_NAME       = file
-PKG_VER        = 5.06
+PKG_VER        = 5.07
 PKG_REL        = 1
 
 PKG_MAINTAINER =
@@ -34,6 +34,8 @@ PKG_URL        = http://www.darwinsys.com/file/
 PKG_LICENSE    = BSD
 PKG_SUMMARY    = A utility for determining file types.
 
+PKG_BUILD_DEPS+= zlib-devel
+
 define PKG_DESCRIPTION
        The file command is used to identify a particular file according to the \
        type of data contained by the file.  File can identify many different \
@@ -45,18 +47,8 @@ PKG_TARBALL    = $(THISAPP).tar.gz
 
 PKG_PACKAGES  += file-devel
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --disable-static
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
+CONFIGURE_OPTIONS += \
+       --disable-static
 
 define STAGE_TEST
         cd $(DIR_APP) && make check