wok-next annotate libtar/receipt @ rev 17602
appdata-tools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 11:09:07 2015 +0100 (2015-02-12) |
parents | 78b4eabb585c |
children | c3a368c0cddb |
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" |
pascal@15482 | 8 LICENSE="BSD" |
slaxemulator@6809 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6809 | 10 WEB_SITE="http://www.feep.net/libtar/" |
slaxemulator@6809 | 11 WGET_URL="ftp://ftp.feep.net/pub/software/$PACKAGE/$TARBALL" |
slaxemulator@6809 | 12 |
pascal@15482 | 13 DEPENDS="zlib" |
pascal@15482 | 14 BUILD_DEPENDS="zlib-dev" |
pascal@15482 | 15 |
slaxemulator@6809 | 16 # Rules to configure and make the package. |
slaxemulator@6809 | 17 compile_rules() |
slaxemulator@6809 | 18 { |
slaxemulator@6809 | 19 cd $src |
slaxemulator@6809 | 20 ./configure \ |
slaxemulator@6809 | 21 --prefix=/usr \ |
slaxemulator@6809 | 22 --infodir=/usr/share/info \ |
slaxemulator@6809 | 23 --mandir=/usr/share/man \ |
slaxemulator@6809 | 24 $CONFIGURE_ARGS && |
pascal@15482 | 25 make && make DESTDIR=$DESTDIR install |
slaxemulator@6809 | 26 } |
slaxemulator@6809 | 27 |
slaxemulator@6809 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6809 | 29 genpkg_rules() |
slaxemulator@6809 | 30 { |
slaxemulator@6809 | 31 mkdir -p $fs/usr |
pascal@15482 | 32 cp -a $install/usr/bin $fs/usr |
slaxemulator@6809 | 33 } |
slaxemulator@6809 | 34 |