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/util-linux.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/util-linux.xibuild')
-rw-r--r-- | repo/util/util-linux.xibuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/util/util-linux.xibuild b/repo/util/util-linux.xibuild index aeb7edf..46228c1 100644 --- a/repo/util/util-linux.xibuild +++ b/repo/util/util-linux.xibuild @@ -2,15 +2,19 @@ DEPS=(shadow coreutils libcap libxcrypt readline) -SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.2.tar.xz +PKG_VER=2.37 +SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v$PKG_VER/util-linux-$PKG_VER.tar.xz DESC="System Utilities for Linux" build () { ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ --libdir=/usr/lib \ - --docdir=/usr/share/doc/util-linux-2.20 \ + --docdir=/usr/share/doc/util-linux-$PKG_VER\ --disable-static \ runstatedir=/run make +} + +package () { make DESTDIR=$PKG_DEST install } |