wok view perl-xml-entities/receipt @ rev 10549
php: Added back code to add desktop, image, and php.ini in compile_rules. These files are needed for php-common not php directly. Thats what they were there.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 14:47:51 2011 +0000 (2011-05-25) |
parents | fe7e875f7d99 |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-entities"
4 VERSION="1.0000"
5 CATEGORY="development"
6 SHORT_DESC="XML::Entities module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl perl-libwww perl-uri"
10 SOURCE="XML-Entities"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://search.cpan.org/dist/XML-Entities/lib/XML/Entities.pm"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 perl Makefile.PL &&
20 make &&
21 make install DESTDIR=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }