wok-6.x annotate libtar/receipt @ rev 13294

sslh: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 27 17:15:42 2012 +0200 (2012-08-27)
parents
children 8d6f480bf664
rev   line source
slaxemulator@6809 1 # SliTaz package receipt.
slaxemulator@6809 2
slaxemulator@6809 3 PACKAGE="libtar"
slaxemulator@6809 4 VERSION="1.2.11"
slaxemulator@6809 5 CATEGORY="development"
slaxemulator@6809 6 SHORT_DESC="C library for manipulating POSIX tar files."
slaxemulator@6809 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6809 8 DEPENDS="zlib"
slaxemulator@6809 9 BUILD_DEPENDS="zlib-dev"
slaxemulator@6809 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6809 11 WEB_SITE="http://www.feep.net/libtar/"
slaxemulator@6809 12 WGET_URL="ftp://ftp.feep.net/pub/software/$PACKAGE/$TARBALL"
slaxemulator@6809 13
slaxemulator@6809 14 # Rules to configure and make the package.
slaxemulator@6809 15 compile_rules()
slaxemulator@6809 16 {
slaxemulator@6809 17 cd $src
slaxemulator@6809 18 ./configure \
slaxemulator@6809 19 --prefix=/usr \
slaxemulator@6809 20 --infodir=/usr/share/info \
slaxemulator@6809 21 --mandir=/usr/share/man \
slaxemulator@6809 22 $CONFIGURE_ARGS &&
slaxemulator@6809 23 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6809 24 }
slaxemulator@6809 25
slaxemulator@6809 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6809 27 genpkg_rules()
slaxemulator@6809 28 {
slaxemulator@6809 29 mkdir -p $fs/usr
slaxemulator@6809 30 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6809 31 }
slaxemulator@6809 32