wok-next annotate perl-text-aspell/receipt @ rev 8243
Up: slitaz-base-files 4.1.2, tazpkg 4.2.3
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Jan 28 23:10:49 2011 +0100 (2011-01-28) |
parents | 7e797181d0c7 |
children | 2d12ebd38be4 |
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@5005 | 8 DEPENDS="perl aspell gcc-lib-base" |
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 |