wok-current annotate perl-socket6/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents 90d96cef6cf4
children 20661c276bcf
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"
pascal@14702 8 LICENSE="GPL"
erjo@2656 9 DEPENDS="perl"
erjo@2656 10 BUILD_DEPENDS="perl"
erjo@2656 11 SOURCE="Socket6"
erjo@2656 12 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@2656 13 WEB_SITE="http://cpan.org/"
erjo@2656 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/$TARBALL"
erjo@2656 15
erjo@2656 16
erjo@2656 17 # Rules to configure and make the package.
erjo@2656 18 compile_rules()
erjo@2656 19 {
erjo@2656 20 cd $src
erjo@2656 21 perl Makefile.PL
erjo@2656 22 make
pascal@14702 23 make DESTDIR=$DESTDIR install
erjo@2656 24 }
erjo@2656 25
erjo@2656 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2656 27 genpkg_rules()
erjo@2656 28 {
erjo@2656 29 mkdir -p $fs/usr
pascal@14702 30 cp -a $install/usr/lib $fs/usr
erjo@2656 31 }
erjo@2656 32