wok-4.x view libtar/receipt @ rev 9717

slitaz-toolchain: Let create a new toolchain in one command for cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 01:35:10 2011 +0200 (2011-05-09)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libtar"
4 VERSION="1.2.11"
5 CATEGORY="development"
6 SHORT_DESC="C library for manipulating POSIX tar files."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="zlib"
9 BUILD_DEPENDS="zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.feep.net/libtar/"
12 WGET_URL="ftp://ftp.feep.net/pub/software/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }