wok-next annotate perl-encode-locale/receipt @ rev 15608
hubbub: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:31:17 2013 +0000 (2013-12-06) |
parents | 67b9bb1ef520 |
children | 1a86cb99cbbf |
rev | line source |
---|---|
erjo@11834 | 1 # SliTaz package receipt. |
erjo@11834 | 2 |
erjo@11834 | 3 PACKAGE="perl-encode-locale" |
erjo@11834 | 4 VERSION="1.03" |
erjo@11834 | 5 CATEGORY="development" |
erjo@11834 | 6 SHORT_DESC="Determine the locale encoding" |
slaxemulator@11839 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@11839 | 9 WEB_SITE="http://search.cpan.org/dist/Encode-Locale" |
erjo@11834 | 10 SOURCE="Encode-Locale" |
erjo@11834 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11839 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@11839 | 13 |
slaxemulator@11839 | 14 DEPENDS="perl" |
slaxemulator@11839 | 15 BUILD_DEPENDS="perl" |
erjo@11834 | 16 |
erjo@11834 | 17 # Rules to configure and make the package. |
erjo@11834 | 18 compile_rules() |
erjo@11834 | 19 { |
erjo@11834 | 20 cd $src |
erjo@11834 | 21 perl Makefile.PL && |
erjo@11834 | 22 make && |
erjo@11834 | 23 make DESTDIR=$DESTDIR install |
erjo@11834 | 24 } |
erjo@11834 | 25 |
erjo@11834 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11834 | 27 genpkg_rules() |
erjo@11834 | 28 { |
slaxemulator@11839 | 29 cp -a $install/* $fs |
erjo@11834 | 30 } |