wok-next view perl-socket6/receipt @ rev 11659
xfe, Improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 12 22:40:16 2012 +0100 (2012-02-12) |
parents | |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-socket6"
4 VERSION="0.23"
5 CATEGORY="development"
6 SHORT_DESC="Socket6 is a PERL module"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl"
10 SOURCE="Socket6"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://cpan.org/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL
21 make
22 make DESTDIR=$PWD/_pkg install
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 }