wok annotate perl-xml-treepp/receipt @ rev 20556
gcc3: set host,build,target
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:05:39 2018 +0100 (2018-12-12) |
parents | |
children | ca4a422cce07 |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-xml-treepp" |
pascal@20469 | 4 VERSION="0.43" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="XML::TreePP module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
pascal@20469 | 9 DEPENDS="perl" |
pascal@20469 | 10 BUILD_DEPENDS="perl" |
pascal@20469 | 11 SOURCE="XML-TreePP" |
pascal@20469 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20469 | 13 WEB_SITE="http://cpan.org/" |
pascal@20469 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/K/KA/KAWASAKI/$TARBALL" |
pascal@20469 | 15 |
pascal@20469 | 16 # Rules to configure and make the package. |
pascal@20469 | 17 compile_rules() |
pascal@20469 | 18 { |
pascal@20469 | 19 perl Makefile.PL && |
pascal@20469 | 20 make && |
pascal@20469 | 21 make DESTDIR=$DESTDIR install |
pascal@20469 | 22 } |
pascal@20469 | 23 |
pascal@20469 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 25 genpkg_rules() |
pascal@20469 | 26 { |
pascal@20469 | 27 mkdir -p $fs/usr |
pascal@20469 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 29 } |