wok-4.x annotate perl-file-rsync/receipt @ rev 12065
fix gtk-engine-nodoka bdeps & genpkg_rules
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 02:01:06 2012 +0100 (2012-03-09) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@8732 | 1 # SliTaz package receipt. |
slaxemulator@8732 | 2 |
slaxemulator@8732 | 3 PACKAGE="perl-file-rsync" |
slaxemulator@8732 | 4 VERSION="0.68" |
slaxemulator@8732 | 5 CATEGORY="development" |
slaxemulator@8732 | 6 SHORT_DESC="Perl Rsync client" |
slaxemulator@8732 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@8732 | 8 DEPENDS="perl rsync" |
slaxemulator@8732 | 9 SOURCE="File-RsyncP" |
slaxemulator@8732 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@8732 | 11 WEB_SITE="http://search.cpan.org/dist/File-RsyncP" |
slaxemulator@8732 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/$TARBALL" |
slaxemulator@8732 | 13 |
slaxemulator@8732 | 14 # Rules to configure and make the package. |
slaxemulator@8732 | 15 compile_rules() |
slaxemulator@8732 | 16 { |
slaxemulator@8732 | 17 cd $src |
slaxemulator@8732 | 18 perl Makefile.PL && |
slaxemulator@8732 | 19 make -j1 && |
slaxemulator@8732 | 20 make -j1 DESTDIR=$DESTDIR install |
slaxemulator@8732 | 21 } |
slaxemulator@8732 | 22 |
slaxemulator@8732 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8732 | 24 genpkg_rules() |
slaxemulator@8732 | 25 { |
slaxemulator@8732 | 26 mkdir -p $fs/usr |
slaxemulator@8732 | 27 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@8732 | 28 } |
slaxemulator@8732 | 29 |