wok-4.x annotate libarchive/receipt @ rev 6710
Fix build soft link in linux-module-headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 14 02:56:08 2010 +0000 (2010-10-14) |
parents | f30b360e4e96 |
children | f831ecb652a6 |
rev | line source |
---|---|
erjo@3653 | 1 # SliTaz package receipt. |
erjo@3653 | 2 |
erjo@3653 | 3 PACKAGE="libarchive" |
slaxemulator@6211 | 4 VERSION="2.8.4" |
pankso@4805 | 5 CATEGORY="system-tools" |
erjo@3653 | 6 SHORT_DESC="C librairy and command line tool for reading archive." |
erjo@3653 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@6571 | 8 DEPENDS="acl libcrypto liblzma bzlib zlib libxml2" |
slaxemulator@6571 | 9 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev zlib-dev libxml2-dev" |
erjo@3653 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@3653 | 11 WEB_SITE="http://code.google.com/p/libarchive/" |
erjo@3653 | 12 WGET_URL="http://libarchive.googlecode.com/files/$TARBALL" |
erjo@3653 | 13 |
erjo@3653 | 14 # Rules to configure and make the package. |
erjo@3653 | 15 compile_rules() |
erjo@3653 | 16 { |
erjo@3653 | 17 cd $src |
pascal@5545 | 18 sed -i 's|acl/libacl.h|libacl.h|' tar/bsdtar_platform.h |
erjo@3653 | 19 ./configure \ |
erjo@3653 | 20 --prefix=/usr \ |
erjo@3653 | 21 --infodir=/usr/share/info \ |
erjo@3653 | 22 --mandir=/usr/share/man \ |
erjo@3653 | 23 $CONFIGURE_ARGS && |
erjo@3653 | 24 make && make DESTDIR=$PWD/_pkg install |
erjo@3653 | 25 } |
erjo@3653 | 26 |
erjo@3653 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3653 | 28 genpkg_rules() |
erjo@3653 | 29 { |
erjo@3653 | 30 mkdir -p $fs/usr/lib |
erjo@3653 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@3653 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@3653 | 33 } |
erjo@3653 | 34 |