wok-current view libarchive/receipt @ rev 4974

add/improve TAGS u* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 12:19:54 2010 +0000 (2010-02-24)
parents b66c40971da8
children 8752c40cc534
line source
1 # SliTaz package receipt.
3 PACKAGE="libarchive"
4 VERSION="2.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="C librairy and command line tool for reading archive."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/libarchive/"
11 WGET_URL="http://libarchive.googlecode.com/files/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }