summaryrefslogtreecommitdiffstats
path: root/base/file
diff options
context:
space:
mode:
Diffstat (limited to 'base/file')
-rw-r--r--base/file/.footprint22
-rw-r--r--base/file/.md5sum1
-rwxr-xr-xbase/file/Pkgfile23
3 files changed, 46 insertions, 0 deletions
diff --git a/base/file/.footprint b/base/file/.footprint
new file mode 100644
index 000000000..6831467a1
--- /dev/null
+++ b/base/file/.footprint
@@ -0,0 +1,22 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/file
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/magic.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libmagic.a
+-rwxr-xr-x root/root usr/lib/libmagic.la
+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/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.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/libmagic.3.gz
+drwxr-xr-x root/root usr/share/man/man4/
+-rw-r--r-- root/root usr/share/man/man4/magic.4.gz
+drwxr-xr-x root/root usr/share/man/man5/
+drwxr-xr-x root/root usr/share/misc/
+-rw-r--r-- root/root usr/share/misc/magic.mgc
diff --git a/base/file/.md5sum b/base/file/.md5sum
new file mode 100644
index 000000000..f23bacb1c
--- /dev/null
+++ b/base/file/.md5sum
@@ -0,0 +1 @@
+d05f08a53e5c2f51f8ee6a4758c0cc53 file-5.03.tar.gz
diff --git a/base/file/Pkgfile b/base/file/Pkgfile
new file mode 100755
index 000000000..adcc0a95d
--- /dev/null
+++ b/base/file/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Utilitaire pour déterminer le type de fichier donné.
+# URL: ftp://ftp.fu-berlin.de/unix/tools/file/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: zlib
+
+name=file
+version=5.03
+release=1
+source=(ftp://ftp.gw.com/mirrors/unix/$name/$name-$version.tar.gz)
+
+
+build() {
+cd $name-$version
+sed -i -e '197,+1d' \
+ -e '189,+1d' \
+ -e 's/token$/tokens/' doc/file.man
+./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+make
+make DESTDIR=$PKG install
+}