wok-current annotate perl-text-aspell/receipt @ rev 2242
Add perl-text-aspell
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 18:20:26 2009 +0000 (2009-02-15) |
parents | |
children | f3327707164a |
rev | line source |
---|---|
pascal@2242 | 1 # SliTaz package receipt. |
pascal@2242 | 2 |
pascal@2242 | 3 PACKAGE="perl-text-aspell" |
pascal@2242 | 4 VERSION="0.09" |
pascal@2242 | 5 CATEGORY="development" |
pascal@2242 | 6 SHORT_DESC="Text::Aspell module is a Perl extension." |
pascal@2242 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2242 | 8 DEPENDS="perl aspell" |
pascal@2242 | 9 BUILD_DEPENDS="perl aspell aspell-dev" |
pascal@2242 | 10 SOURCE="Text-Aspell" |
pascal@2242 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2242 | 12 WEB_SITE="http://www.cpan.org/modules/" |
pascal@2242 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/H/HA/HANK/$TARBALL" |
pascal@2242 | 14 |
pascal@2242 | 15 # Rules to configure and make the package. |
pascal@2242 | 16 compile_rules() |
pascal@2242 | 17 { |
pascal@2242 | 18 mv $SOURCE $src 2> /dev/null |
pascal@2242 | 19 cd $src |
pascal@2242 | 20 perl Makefile.PL && |
pascal@2242 | 21 make && |
pascal@2242 | 22 make DESTDIR=$PWD/_pkg install |
pascal@2242 | 23 } |
pascal@2242 | 24 |
pascal@2242 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2242 | 26 genpkg_rules() |
pascal@2242 | 27 { |
pascal@2242 | 28 mkdir -p $fs/usr |
pascal@2242 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@2242 | 30 } |
pascal@2242 | 31 |