summaryrefslogtreecommitdiffstats
path: root/file
diff options
context:
space:
mode:
Diffstat (limited to 'file')
-rw-r--r--file/.footprint14
-rw-r--r--file/Pkgfile23
2 files changed, 21 insertions, 16 deletions
diff --git a/file/.footprint b/file/.footprint
index bb59eb9..1ea17e7 100644
--- a/file/.footprint
+++ b/file/.footprint
@@ -9,13 +9,13 @@ drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libmagic.so -> libmagic.so.1.0.0
lrwxrwxrwx root/root usr/lib/libmagic.so.1 -> libmagic.so.1.0.0
-rwxr-xr-x root/root usr/lib/libmagic.so.1.0.0
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/file.1.gz
-drwxr-xr-x root/root usr/man/man3/
--rw-r--r-- root/root usr/man/man3/libmagic.3.gz
-drwxr-xr-x root/root usr/man/man5/
--rw-r--r-- root/root usr/man/man5/magic.5.gz
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/file.1.bz2
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/libmagic.3.bz2
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/magic.5.bz2
drwxr-xr-x root/root usr/share/misc/
-rw-r--r-- root/root usr/share/misc/magic.mgc
diff --git a/file/Pkgfile b/file/Pkgfile
index 8d4dae9..5538242 100644
--- a/file/Pkgfile
+++ b/file/Pkgfile
@@ -1,18 +1,23 @@
-description="File type identification utility"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="File type identification utility."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.darwinsys.com/file/"
depends=(zlib)
name=file
version=5.04
release=1
-source=(ftp://ftp.fu-berlin.de/unix/tools/file/file-5.04.tar.gz)
+source=(ftp://ftp.fu-berlin.de/unix/tools/$name/$name-$version.tar.gz)
build ()
{
- cd $name-$version;
- ./configure --prefix=/usr --mandir=/usr/man --enable-fsect-man5;
- make;
- make DESTDIR=$PKG install;
- rmdir $PKG/usr/man/man4
+ cd $name-$version;
+ ./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ --enable-fsect-man5;
+ make;
+ make DESTDIR=$PKG install;
+ rmdir $PKG$mandir/man4
}