wok annotate perl-extutils-pkgconfig/receipt @ rev 18934
Up slitaz-configs (273)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 27 07:57:39 2016 +0100 (2016-02-27) |
parents | 2d12ebd38be4 |
children | 20661c276bcf |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-extutils-pkgconfig" |
claudinei@3179 | 4 SOURCE="ExtUtils-PkgConfig" |
claudinei@14866 | 5 VERSION="1.14" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Simplistic interface to pkg-config" |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14702 | 9 LICENSE="GPL" |
claudinei@3179 | 10 DEPENDS="perl pkg-config" |
claudinei@3179 | 11 BUILD_DEPENDS="perl pkg-config" |
claudinei@3179 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14866 | 13 WEB_SITE="http://search.cpan.org/~xaoc/ExtUtils-PkgConfig-1.14/" |
claudinei@14866 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL" |
claudinei@3179 | 15 |
claudinei@3179 | 16 # Rules to configure and make the package. |
claudinei@3179 | 17 compile_rules() |
claudinei@3179 | 18 { |
claudinei@3179 | 19 cd $src |
claudinei@3179 | 20 perl Makefile.PL && |
claudinei@3179 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
claudinei@3179 | 23 } |
claudinei@3179 | 24 |
claudinei@3179 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 26 genpkg_rules() |
claudinei@3179 | 27 { |
claudinei@3179 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 30 } |
claudinei@3179 | 31 |