wok annotate perl-maketext-gettext/receipt @ rev 19644
dev86: update post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 15:22:15 2017 +0100 (2017-01-21) |
parents | 2d12ebd38be4 |
children | 20661c276bcf |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-maketext-gettext" |
erjo@2647 | 4 VERSION="1.26" |
erjo@2647 | 5 CATEGORY="development" |
erjo@2647 | 6 SHORT_DESC="Perl gettext and Maketext frameworks" |
erjo@2647 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
erjo@2647 | 9 DEPENDS="perl" |
erjo@2647 | 10 BUILD_DEPENDS="perl" |
erjo@2647 | 11 SOURCE="Locale-Maketext-Gettext" |
erjo@2647 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2647 | 13 WEB_SITE="http://cpan.org/" |
erjo@2647 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/I/IM/IMACAT/$TARBALL" |
erjo@2647 | 15 |
erjo@2647 | 16 # Rules to configure and make the package. |
erjo@2647 | 17 compile_rules() |
erjo@2647 | 18 { |
erjo@2647 | 19 cd $src |
erjo@2647 | 20 perl Makefile.PL |
erjo@2647 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
erjo@2647 | 23 } |
erjo@2647 | 24 |
erjo@2647 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 26 genpkg_rules() |
erjo@2647 | 27 { |
erjo@2647 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
erjo@2647 | 30 } |
erjo@2647 | 31 |