wok-current annotate perl-xml-simple/receipt @ rev 20235
busybox: add arch (uname -m alias)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 15:52:59 2018 +0100 (2018-03-05) |
parents | 3d99ecce2d4b |
children | ec25a353c584 |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl-xml-simple" |
pankso@18 | 4 VERSION="2.18" |
pankso@204 | 5 CATEGORY="development" |
pankso@18 | 6 SHORT_DESC="XML::Simple module is used to read and write XML." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pankso@18 | 9 DEPENDS="perl" |
pascal@1511 | 10 BUILD_DEPENDS="perl" |
pankso@18 | 11 SOURCE="XML-Simple" |
pankso@18 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@18 | 13 WEB_SITE="http://cpan.org/" |
pankso@18 | 14 WGET_URL="http://cpan.org/authors/id/G/GR/GRANTM/$TARBALL" |
pankso@18 | 15 |
pankso@18 | 16 # Rules to configure and make the package. |
pankso@18 | 17 compile_rules() |
pankso@18 | 18 { |
pankso@18 | 19 cd $src |
pascal@1511 | 20 perl Makefile.PL && |
pascal@1511 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pankso@18 | 23 } |
pankso@18 | 24 |
pankso@18 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 26 genpkg_rules() |
pankso@18 | 27 { |
pankso@18 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pankso@18 | 30 } |
pankso@18 | 31 |