wok-stable view perl-soap-lite/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents bd3d98cfeeb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-soap-lite"
4 VERSION="0.710.08"
5 CATEGORY="development"
6 SHORT_DESC="SOAP::Lite module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl"
10 SOURCE="SOAP-Lite"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cpan.org/modules/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 yes '' | perl Makefile.PL &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
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 }