wok annotate perl/receipt @ rev 4649
Add openvas-scanner
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 27 11:39:42 2009 +0100 (2009-12-27) |
parents | aadd2e06aab8 |
children | f3327707164a |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl" |
pankso@979 | 4 VERSION="5.10.0" |
pankso@204 | 5 CATEGORY="development" |
pankso@18 | 6 SHORT_DESC="Full Perl interpreter and modules." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@18 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2457 | 9 DEPENDS="libdb" |
pankso@18 | 10 WEB_SITE="http://www.perl.org/" |
pankso@18 | 11 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" |
pascal@2332 | 12 PROVIDE="microperl" |
pankso@18 | 13 |
pankso@18 | 14 # Rules to configure and make the package. |
pankso@18 | 15 # |
pankso@18 | 16 compile_rules() |
pankso@18 | 17 { |
pankso@18 | 18 cd $src |
pascal@2332 | 19 ./configure.gnu --prefix=/usr && |
pascal@2332 | 20 make && |
pankso@18 | 21 make DESTDIR=$PWD/_pkg install |
pankso@18 | 22 } |
pankso@18 | 23 |
pankso@18 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 25 genpkg_rules() |
pankso@18 | 26 { |
pankso@18 | 27 mkdir -p $fs/usr |
pankso@18 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@18 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@18 | 30 } |
pankso@18 | 31 |
pankso@18 | 32 # Pre install commands for Tazpkg. |
pankso@18 | 33 # Remove perl link to microperl if any. |
pankso@18 | 34 # |
pankso@18 | 35 pre_install() |
pankso@18 | 36 { |
pankso@18 | 37 echo "Processing pre-install commands..." |
pankso@18 | 38 rm -f $1/usr/bin/perl |
pankso@18 | 39 } |