wok-current annotate perl-glib/receipt @ rev 19207

Add liboping
author Paul Issott <paul@slitaz.org>
date Sun Jun 12 15:30:59 2016 +0100 (2016-06-12)
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