wok-current view libarchive/receipt @ rev 22458

freedoom: fix link
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Dec 26 13:04:40 2019 +0000 (2019-12-26)
parents 092a08459c30
children c0da92783a87
line source
1 # SliTaz package receipt.
3 PACKAGE="libarchive"
4 VERSION="3.3.3"
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="https://www.libarchive.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 DEPENDS="acl bzlib libcrypto liblzma libxml2 lz4-lib zlib"
15 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev lz4-dev \
16 openssl-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j1 &&
27 make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }