wok annotate libarchive/receipt @ rev 21996

linux: add ath10k wireless driver
author Richard Dunbar <mojo@slitaz.org>
date Wed Oct 16 21:56:55 2019 -0400 (2019-10-16)
parents 092a08459c30
children c0da92783a87
rev   line source
erjo@3653 1 # SliTaz package receipt.
erjo@3653 2
erjo@3653 3 PACKAGE="libarchive"
Hans-G?nter@21112 4 VERSION="3.3.3"
pankso@4805 5 CATEGORY="system-tools"
erkan@20342 6 SHORT_DESC="C library and command line tool for reading archive."
erjo@3653 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="BSD"
Hans-G?nter@21112 9 WEB_SITE="https://www.libarchive.org/"
Hans-G?nter@21112 10
erjo@3653 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17251 12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
erjo@3653 13
Hans-G?nter@21112 14 DEPENDS="acl bzlib libcrypto liblzma libxml2 lz4-lib zlib"
Hans-G?nter@21112 15 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev lz4-dev \
Hans-G?nter@21112 16 openssl-dev zlib-dev"
pascal@15472 17
erjo@3653 18 # Rules to configure and make the package.
erjo@3653 19 compile_rules()
erjo@3653 20 {
Hans-G?nter@21112 21 ./configure \
Hans-G?nter@21112 22 --prefix=/usr \
Hans-G?nter@21112 23 --infodir=/usr/share/info \
Hans-G?nter@21112 24 --mandir=/usr/share/man \
erjo@3653 25 $CONFIGURE_ARGS &&
Hans-G?nter@21112 26 make -j1 &&
Hans-G?nter@21112 27 make -j1 DESTDIR=$DESTDIR install
erjo@3653 28 }
erjo@3653 29
erjo@3653 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3653 31 genpkg_rules()
erjo@3653 32 {
erjo@3653 33 mkdir -p $fs/usr/lib
Hans-G?nter@21112 34
Hans-G?nter@21112 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21112 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@3653 37 }