wok-current annotate perl-encode-locale/receipt @ rev 11834
Add: perl-ecnode-locale
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 27 00:37:05 2012 +0100 (2012-02-27) |
parents | |
children | 67b9bb1ef520 |
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" |
erjo@11834 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@11834 | 8 DEPENDS="" |
erjo@11834 | 9 BUILD_DEPENDS="perl $DEPENDS" |
erjo@11834 | 10 SOURCE="Encode-Locale" |
erjo@11834 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@11834 | 12 WEB_SITE="http://search.cpan.org/~gaas/HTTP-Message-6.03/" |
erjo@11834 | 13 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" |
erjo@11834 | 14 |
erjo@11834 | 15 # Rules to configure and make the package. |
erjo@11834 | 16 compile_rules() |
erjo@11834 | 17 { |
erjo@11834 | 18 cd $src |
erjo@11834 | 19 perl Makefile.PL && |
erjo@11834 | 20 make && |
erjo@11834 | 21 make DESTDIR=$DESTDIR install |
erjo@11834 | 22 } |
erjo@11834 | 23 |
erjo@11834 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11834 | 25 genpkg_rules() |
erjo@11834 | 26 { |
erjo@11834 | 27 mkdir -p $fs/usr |
erjo@11834 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@11834 | 29 cp -a $_pkg/usr/lib $fs/usr |
erjo@11834 | 30 } |