wok-next view libarchive/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 | 1ca369c9f448 |
children | 228b9c951d97 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libarchive"
4 VERSION="3.3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="C library and command line tool for reading archive"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.libarchive.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}downloads/$TARBALL"
15 BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev xz-dev \
16 lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev"
17 SPLIT="libarchive-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make -j1 DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libarchive)
31 copy @std
32 DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libarchive acl-dev attr-dev bzip2-dev libxml2-dev lz4-dev \
37 lzo-dev nettle-dev openssl-dev xz-dev zlib-dev"
38 ;;
39 esac
40 }