wok-stable view perl-uri/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 3e03020024db |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-uri"
4 VERSION="1.58"
5 CATEGORY="development"
6 SHORT_DESC="URI::Escape, URI::File, URI::ldap and URI::URL modules are Perl extensions."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl"
10 SOURCE="URI"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://cpan.org/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
14 PROVIDE="perl-uri-escape perl-uri-file perl-uri-ldap perl-uri-url"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make install DESTDIR=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }