wok annotate perl-linux-inotify2/receipt @ rev 17393

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents
children 46fc8daa3b41
rev   line source
pascal@17380 1 # SliTaz package receipt.
pascal@17380 2
pascal@17380 3 PACKAGE="perl-linux-inotify2"
pascal@17380 4 VERSION="1.22"
pascal@17380 5 CATEGORY="development"
pascal@17380 6 SHORT_DESC="Linux::Inotify2 module is a Perl extension."
pascal@17380 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17380 8 LICENCE="GPL"
pascal@17380 9 SOURCE="Linux-Inotify2"
pascal@17380 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@17380 11 WEB_SITE="http://cpan.org/"
pascal@17380 12 WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL"
pascal@17380 13
pascal@17380 14 DEPENDS="perl-common-sense"
pascal@17380 15 BUILD_DEPENDS="perl"
pascal@17380 16
pascal@17380 17 # Rules to configure and make the package.
pascal@17380 18 compile_rules()
pascal@17380 19 {
pascal@17380 20 perl Makefile.PL
pascal@17380 21 make
pascal@17380 22 make DESTDIR=$DESTDIR install
pascal@17380 23 }
pascal@17380 24
pascal@17380 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17380 26 genpkg_rules()
pascal@17380 27 {
pascal@17380 28 mkdir -p $fs/usr
pascal@17380 29 cp -a $install/usr/lib $fs/usr
pascal@17380 30 }
pascal@17380 31