wok annotate perl-linux-inotify2/receipt @ rev 20371
gnupg: restore compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 10 12:54:49 2018 +0200 (2018-06-10) |
parents | a95b0be09647 |
children | d4f3d436b64c |
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@18334 | 8 LICENSE="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 |