wok-6.x annotate librsync/receipt @ rev 13575
linux/list_modules.sh: modules.list has moved...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 05 11:02:15 2012 +0100 (2012-11-05) |
parents | 65f68f9e76ad |
children | 086841d75237 |
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@13326 | 8 WEB_SITE="http://librsync.sourceforge.net/" |
pascal@13326 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13326 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13326 | 11 |
pascal@13326 | 12 DEPENDS="zlib bzlib popt" |
pascal@13326 | 13 BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev" |
pascal@13326 | 14 |
pascal@13326 | 15 # Rules to configure and make the package. |
pascal@13326 | 16 compile_rules() |
pascal@13326 | 17 { |
pascal@13326 | 18 cd $src |
pascal@13326 | 19 ./configure --prefix=/usr \ |
pascal@13326 | 20 --mandir=/usr/share/man \ |
pascal@13326 | 21 --infodir=/usr/share/info \ |
pascal@13326 | 22 $CONFIGURE_ARGS && |
pascal@13326 | 23 make && make DESTDIR=$DESTDIR install |
pascal@13326 | 24 } |
pascal@13326 | 25 |
pascal@13326 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13326 | 27 genpkg_rules() |
pascal@13326 | 28 { |
pascal@13326 | 29 mkdir $fs/usr |
pascal@13327 | 30 cp -a $install/usr/include $fs/usr |
pascal@13326 | 31 cp -a $install/usr/bin $fs/usr |
pascal@13326 | 32 cp -a $install/usr/lib $fs/usr |
pascal@13326 | 33 } |