diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/file.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/file.xibuild')
-rw-r--r-- | repo/util/file.xibuild | 9 |
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 } |