wok-6.x annotate perl-socket6/receipt @ rev 3239

php: enable-sockets
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 30 08:57:37 2009 +0200 (2009-05-30)
parents
children 2d12ebd38be4
rev   line source
erjo@2656 1 # SliTaz package receipt.
erjo@2656 2
erjo@2656 3 PACKAGE="perl-socket6"
erjo@2656 4 VERSION="0.23"
erjo@2656 5 CATEGORY="development"
erjo@2656 6 SHORT_DESC="Socket6 is a PERL module"
erjo@2656 7 MAINTAINER="erjo@slitaz.org"
erjo@2656 8 DEPENDS="perl"
erjo@2656 9 BUILD_DEPENDS="perl"
erjo@2656 10 SOURCE="Socket6"
erjo@2656 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@2656 12 WEB_SITE="http://cpan.org/"
erjo@2656 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/$TARBALL"
erjo@2656 14
erjo@2656 15
erjo@2656 16 # Rules to configure and make the package.
erjo@2656 17 compile_rules()
erjo@2656 18 {
erjo@2656 19 cd $src
erjo@2656 20 perl Makefile.PL
erjo@2656 21 make
erjo@2656 22 make DESTDIR=$PWD/_pkg install
erjo@2656 23 }
erjo@2656 24
erjo@2656 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2656 26 genpkg_rules()
erjo@2656 27 {
erjo@2656 28 mkdir -p $fs/usr
erjo@2656 29 cp -a $_pkg/usr/lib $fs/usr
erjo@2656 30 }
erjo@2656 31