wok annotate perl-xml-simple/receipt @ rev 1455
atl2 kqemu madwifi mISDN ndiswrapper squashfs-module zaptel: fix depmod in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 16:09:39 2008 +0000 (2008-10-03) |
parents | 8d79fbb0f566 |
children | 3d99ecce2d4b |
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" |
pankso@18 | 8 DEPENDS="perl" |
pankso@18 | 9 SOURCE="XML-Simple" |
pankso@18 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@18 | 11 WEB_SITE="http://cpan.org/" |
pankso@18 | 12 WGET_URL="http://cpan.org/authors/id/G/GR/GRANTM/$TARBALL" |
pankso@18 | 13 |
pankso@18 | 14 # Rules to configure and make the package. |
pankso@18 | 15 compile_rules() |
pankso@18 | 16 { |
pankso@18 | 17 cd $src |
pankso@18 | 18 perl Makefile.PL |
pankso@18 | 19 make |
pankso@18 | 20 make DESTDIR=$PWD/_pkg install |
pankso@18 | 21 } |
pankso@18 | 22 |
pankso@18 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 24 genpkg_rules() |
pankso@18 | 25 { |
pankso@18 | 26 mkdir -p $fs/usr |
pankso@18 | 27 cp -a $_pkg/usr/lib $fs/usr |
pankso@18 | 28 } |
pankso@18 | 29 |