wok-6.x annotate librsync/receipt @ rev 15845

dosfstools: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 11:23:53 2014 +0000 (2014-01-27)
parents 2cd88d54fb64
children 65d7d867e0c1
rev   line source
pascal@13326 1 # SliTaz package receipt.
pascal@13326 2
pascal@13326 3 PACKAGE="librsync"
pascal@13326 4 VERSION="0.9.7"
pascal@13326 5 CATEGORY="development"
pascal@13326 6 SHORT_DESC="Library for the rsync remote-delta algorithm"
pascal@13326 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14716 8 LICENSE="LGPL2.1"
pascal@13326 9 WEB_SITE="http://librsync.sourceforge.net/"
pascal@13326 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13326 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13326 12
pascal@13326 13 DEPENDS="zlib bzlib popt"
pascal@13326 14 BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev"
pascal@13326 15
pascal@13326 16 # Rules to configure and make the package.
pascal@13326 17 compile_rules()
pascal@13326 18 {
pascal@13326 19 cd $src
pascal@13326 20 ./configure --prefix=/usr \
pascal@13326 21 --mandir=/usr/share/man \
pascal@13326 22 --infodir=/usr/share/info \
pascal@13326 23 $CONFIGURE_ARGS &&
pascal@13326 24 make && make DESTDIR=$DESTDIR install
pascal@13326 25 }
pascal@13326 26
pascal@13326 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13326 28 genpkg_rules()
pascal@13326 29 {
pascal@13326 30 mkdir $fs/usr
pascal@13327 31 cp -a $install/usr/include $fs/usr
pascal@13326 32 cp -a $install/usr/bin $fs/usr
pascal@13326 33 cp -a $install/usr/lib $fs/usr
pascal@13326 34 }