wok annotate perl-config-inifiles/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | f51b3f46208a |
children | 0a6cebac1517 |
rev | line source |
---|---|
pascal@3246 | 1 # SliTaz package receipt. |
pascal@3246 | 2 |
pascal@3246 | 3 PACKAGE="perl-config-inifiles" |
pascal@3246 | 4 VERSION="2.49" |
pascal@3246 | 5 CATEGORY="development" |
pascal@3246 | 6 SHORT_DESC="Config::IniFiles module is a Perl extension." |
pascal@3246 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@3246 | 9 DEPENDS="perl" |
pascal@3246 | 10 BUILD_DEPENDS="perl" |
pascal@3246 | 11 SOURCE="Config-IniFiles" |
pascal@3246 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3246 | 13 WEB_SITE="http://cpan.org/" |
pascal@3246 | 14 WGET_URL="http://cpan.org/authors/id/S/SH/SHLOMIF/$TARBALL" |
pascal@3246 | 15 |
pascal@3246 | 16 # Rules to configure and make the package. |
pascal@3246 | 17 compile_rules() |
pascal@3246 | 18 { |
pascal@3246 | 19 cd $src |
pascal@3246 | 20 perl Makefile.PL |
pascal@3246 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@3246 | 23 } |
pascal@3246 | 24 |
pascal@3246 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3246 | 26 genpkg_rules() |
pascal@3246 | 27 { |
pascal@3246 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@3246 | 30 } |
pascal@3246 | 31 |