wok-6.x annotate perl-gd/receipt @ rev 17533
Add libssh2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 17:12:27 2015 +0100 (2015-01-21) |
parents | 6acae73d40c8 |
children | ed2ab2ea5f62 |
rev | line source |
---|---|
pascal@4940 | 1 # SliTaz package receipt. |
pascal@4940 | 2 |
pascal@4940 | 3 PACKAGE="perl-gd" |
pascal@4940 | 4 VERSION="2.44" |
pascal@4940 | 5 CATEGORY="development" |
pascal@4940 | 6 SHORT_DESC="GD module is a Perl extension." |
pascal@4940 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@4940 | 9 DEPENDS="perl libgd" |
pascal@4940 | 10 BUILD_DEPENDS="perl libgd-dev libgd" |
pascal@4940 | 11 SOURCE="GD" |
pascal@4940 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@4940 | 13 WEB_SITE="http://cpan.org/" |
pascal@4940 | 14 WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL" |
pascal@4940 | 15 |
pascal@4940 | 16 # Rules to configure and make the package. |
pascal@4940 | 17 compile_rules() |
pascal@4940 | 18 { |
pascal@4940 | 19 cd $src |
pascal@4940 | 20 perl Makefile.PL |
pascal@4940 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@4940 | 23 } |
pascal@4940 | 24 |
pascal@4940 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4940 | 26 genpkg_rules() |
pascal@4940 | 27 { |
pascal@4940 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@4940 | 30 } |
pascal@4940 | 31 |