wok-current annotate libarchive/receipt @ rev 4402
xorg-xauth: Change description.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 18 12:32:13 2009 +0000 (2009-10-18) |
parents | |
children | 8ac70bc97be0 |
rev | line source |
---|---|
erjo@3653 | 1 # SliTaz package receipt. |
erjo@3653 | 2 |
erjo@3653 | 3 PACKAGE="libarchive" |
erjo@3653 | 4 VERSION="2.7.0" |
erjo@3653 | 5 CATEGORY="system-util" |
erjo@3653 | 6 SHORT_DESC="C librairy and command line tool for reading archive." |
erjo@3653 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@3653 | 8 DEPENDS="" |
erjo@3653 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@3653 | 10 WEB_SITE="http://code.google.com/p/libarchive/" |
erjo@3653 | 11 WGET_URL="http://libarchive.googlecode.com/files/$TARBALL" |
erjo@3653 | 12 |
erjo@3653 | 13 # Rules to configure and make the package. |
erjo@3653 | 14 compile_rules() |
erjo@3653 | 15 { |
erjo@3653 | 16 cd $src |
erjo@3653 | 17 ./configure \ |
erjo@3653 | 18 --prefix=/usr \ |
erjo@3653 | 19 --infodir=/usr/share/info \ |
erjo@3653 | 20 --mandir=/usr/share/man \ |
erjo@3653 | 21 $CONFIGURE_ARGS && |
erjo@3653 | 22 make && make DESTDIR=$PWD/_pkg install |
erjo@3653 | 23 } |
erjo@3653 | 24 |
erjo@3653 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3653 | 26 genpkg_rules() |
erjo@3653 | 27 { |
erjo@3653 | 28 mkdir -p $fs/usr/lib |
erjo@3653 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@3653 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@3653 | 31 } |
erjo@3653 | 32 |