summaryrefslogtreecommitdiff
path: root/repo/util/file.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/file.xibuild')
-rw-r--r--repo/util/file.xibuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/repo/util/file.xibuild b/repo/util/file.xibuild
index 150810b..9e55dc6 100644
--- a/repo/util/file.xibuild
+++ b/repo/util/file.xibuild
@@ -2,13 +2,20 @@
DEPS=(glibc zlib xz bzip2)
-SOURCE=http://ftp.astron.com/pub/file/file-5.40.tar.gz
+PKG_VER=5.40
+SOURCE=http://ftp.astron.com/pub/file/file-$PKG_VER.tar.gz
DESC="A utility for determining the type of a given file or files"
build () {
./configure --prefix=/usr
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}