wok-next view pax/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | b863487b8e7a |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pax"
4 VERSION="070715"
5 CATEGORY="utilities"
6 SHORT_DESC="POSIX archiving utility"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://sourceforge.net/projects/heirloom/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/pax.html"
12 TARBALL="heirloom-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/heirloom/$TARBALL"
15 BUILD_DEPENDS="zlib-dev bzip2-dev"
17 compile_rules() {
18 sed \
19 -e '/LIBZ/s@ -Wl[^ ]*@@g' \
20 -e '/LIBBZ2/{s@^#@@;s@ -Wl[^ ]*@@g}' \
21 -e '/BZLIB/s@0@1@' \
22 -i build/mk.config
24 make makefiles &&
25 make -C libcommon &&
26 make -C libuxre &&
27 make -C cpio || return 1
29 install -Dm755 cpio/pax_su3 $install/usr/bin/pax
30 cook_pick_manpages cpio/pax.1
31 }
33 genpkg_rules() {
34 copy @std
35 DEPENDS="bzlib zlib"
36 }