wok-stable annotate perl-rrd-simple/receipt @ rev 9072

wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 15:45:23 2011 +0100 (2011-03-04)
parents 682806abeaec
children 86d5a1435da7
rev   line source
pascal@3577 1 # SliTaz package receipt.
pascal@3577 2
pascal@3577 3 PACKAGE="perl-rrd-simple"
pascal@3577 4 VERSION="1.44"
pascal@3577 5 CATEGORY="development"
pascal@3577 6 SHORT_DESC="RRD::Simple module is a Perl extension."
pascal@3577 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3582 8 DEPENDS="perl rrdtool-perl"
pascal@3577 9 BUILD_DEPENDS="perl"
pascal@3577 10 SOURCE="RRD-Simple"
pascal@3577 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@3577 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html"
pascal@3577 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/$TARBALL"
pascal@3577 14
pascal@3577 15 # Rules to configure and make the package.
pascal@3577 16 compile_rules()
pascal@3577 17 {
pascal@3577 18 cd $src
pascal@3577 19 perl Makefile.PL &&
pascal@3577 20 make &&
pascal@3577 21 make DESTDIR=$PWD/_pkg install
pascal@3577 22 }
pascal@3577 23
pascal@3577 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3577 25 genpkg_rules()
pascal@3577 26 {
pascal@3577 27 cp -a stuff/*/ $fs
pascal@3577 28 cp -a $_pkg/usr/lib $fs/usr
pascal@3577 29 }
pascal@3577 30