wok-6.x annotate perl-glib/receipt @ rev 18428
shutdown: add simple shutdown wrapper script for other tool compatibility
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Mon Sep 21 13:17:35 2015 +0000 (2015-09-21) |
parents | 01b0687cb2a7 |
children | 20661c276bcf |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-glib" |
claudinei@3179 | 4 SOURCE="Glib" |
claudinei@14867 | 5 VERSION="1.301" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Perl wrappers for the GLib utility and Object libraries." |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
claudinei@3179 | 10 DEPENDS="perl glib" |
claudinei@3179 | 11 BUILD_DEPENDS="perl perl-extutils-depends perl-extutils-pkgconfig glib-dev" |
claudinei@3179 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14867 | 13 WEB_SITE="http://search.cpan.org/~xaoc/Glib-1.301/" |
claudinei@14867 | 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 && |
slaxemulator@10170 | 22 make install DESTDIR=$DESTDIR |
claudinei@14873 | 23 rm -rf $pkgdir/installnone |
claudinei@3179 | 24 } |
claudinei@3179 | 25 |
claudinei@3179 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 27 genpkg_rules() |
claudinei@3179 | 28 { |
claudinei@3179 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 31 } |
claudinei@3179 | 32 |