wok-6.x annotate perl-text-glob/receipt @ rev 12810
readline: ARM want it :-) so we can cross compile bash
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 20 03:01:49 2012 +0200 (2012-05-20) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@10175 | 1 # SliTaz package receipt. |
slaxemulator@10175 | 2 |
slaxemulator@10175 | 3 PACKAGE="perl-text-glob" |
slaxemulator@10175 | 4 VERSION="0.08" |
slaxemulator@10175 | 5 CATEGORY="development" |
slaxemulator@10175 | 6 SHORT_DESC="Match globbing patterns against text." |
slaxemulator@10175 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@10175 | 8 DEPENDS="perl" |
slaxemulator@10175 | 9 BUILD_DEPENDS="perl" |
slaxemulator@10175 | 10 SOURCE="Text-Glob" |
slaxemulator@10175 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10175 | 12 WEB_SITE="http://search.cpan.org/~RCLAMP/Text-Glob" |
slaxemulator@10175 | 13 WGET_URL="http://www.cpan.org/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10175 | 14 |
slaxemulator@10175 | 15 # Rules to configure and make the package. |
slaxemulator@10175 | 16 compile_rules() |
slaxemulator@10175 | 17 { |
slaxemulator@10175 | 18 cd $src |
slaxemulator@10175 | 19 perl Makefile.PL && |
slaxemulator@10175 | 20 make && |
slaxemulator@10175 | 21 make install DESTDIR="$DESTDIR" |
slaxemulator@10175 | 22 } |
slaxemulator@10175 | 23 |
slaxemulator@10175 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10175 | 25 genpkg_rules() |
slaxemulator@10175 | 26 { |
slaxemulator@10175 | 27 mkdir -p $fs/usr |
slaxemulator@10175 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@10175 | 29 } |
slaxemulator@10175 | 30 |