wok annotate perl-dbi-dbd/receipt @ rev 14702
perl, rrdtool: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 18:46:07 2013 +0200 (2013-06-07) |
parents | d5a140dacc3b |
children | b3c3c028e5ba |
rev | line source |
---|---|
pascal@1601 | 1 # SliTaz package receipt. |
pascal@1601 | 2 |
pascal@1601 | 3 PACKAGE="perl-dbi-dbd" |
pascal@1601 | 4 VERSION="1.607" |
pascal@1601 | 5 CATEGORY="development" |
pascal@1601 | 6 SHORT_DESC="DBI::DBD module is a Perl extension." |
pascal@1601 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1601 | 9 DEPENDS="perl" |
pascal@1601 | 10 BUILD_DEPENDS="perl" |
pascal@1601 | 11 SOURCE="DBI" |
pascal@1601 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1601 | 13 WEB_SITE="http://cpan.org/" |
pascal@1601 | 14 WGET_URL="http://cpan.org/authors/id/T/TI/TIMB/$TARBALL" |
pascal@1601 | 15 |
pascal@1601 | 16 # Rules to configure and make the package. |
pascal@1601 | 17 compile_rules() |
pascal@1601 | 18 { |
pascal@1601 | 19 cd $src |
pascal@1601 | 20 perl Makefile.PL |
pascal@1601 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1601 | 23 } |
pascal@1601 | 24 |
pascal@1601 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1601 | 26 genpkg_rules() |
pascal@1601 | 27 { |
pascal@1601 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1601 | 30 } |
pascal@1601 | 31 |