wok annotate perl-jcode/receipt @ rev 20247
Up alsa (1.1.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 12:25:00 2018 +0100 (2018-03-12) |
parents | 6e70601d92e4 |
children | ca4a422cce07 |
rev | line source |
---|---|
pascal@1604 | 1 # SliTaz package receipt. |
pascal@1604 | 2 |
pascal@1604 | 3 PACKAGE="perl-jcode" |
pascal@1604 | 4 VERSION="2.07" |
pascal@1604 | 5 CATEGORY="development" |
pascal@1604 | 6 SHORT_DESC="Jcode module is a Perl extension." |
pascal@1604 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1604 | 9 DEPENDS="perl" |
pascal@1604 | 10 BUILD_DEPENDS="perl" |
pascal@1604 | 11 SOURCE="Jcode" |
pascal@1604 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1604 | 13 WEB_SITE="http://cpan.org/" |
pascal@1604 | 14 WGET_URL="http://cpan.org/authors/id/D/DA/DANKOGAI/$TARBALL" |
pascal@1604 | 15 |
pascal@1604 | 16 # Rules to configure and make the package. |
pascal@1604 | 17 compile_rules() |
pascal@1604 | 18 { |
pascal@1604 | 19 cd $src |
pascal@1604 | 20 perl Makefile.PL |
pascal@1604 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1604 | 23 } |
pascal@1604 | 24 |
pascal@1604 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1604 | 26 genpkg_rules() |
pascal@1604 | 27 { |
pascal@1604 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1604 | 30 } |
pascal@1604 | 31 |