wok-next view pax/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | |
children | f48456621a9d |
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/stable/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 }