wok-stable annotate perl-glib/receipt @ rev 11941

c_icap: Add initscript & fix configfile
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 07:01:35 2012 +0100 (2012-03-01)
parents b9ac4995acf5
children
rev   line source
claudinei@3179 1 # SliTaz package receipt.
claudinei@3179 2
claudinei@3179 3 PACKAGE="perl-glib"
claudinei@3179 4 SOURCE="Glib"
slaxemulator@11048 5 VERSION="1.240"
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"
claudinei@3179 9 DEPENDS="perl glib"
claudinei@3179 10 BUILD_DEPENDS="perl perl-extutils-depends perl-extutils-pkgconfig glib-dev"
claudinei@3179 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@11048 12 WEB_SITE="http://search.cpan.org/~tsch/Glib/"
claudinei@3179 13 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL"
claudinei@3179 14
claudinei@3179 15 # Rules to configure and make the package.
claudinei@3179 16 compile_rules()
claudinei@3179 17 {
claudinei@3179 18 cd $src
claudinei@3179 19 perl Makefile.PL &&
claudinei@3179 20 make &&
slaxemulator@10170 21 make install DESTDIR=$DESTDIR
claudinei@3179 22 }
claudinei@3179 23
claudinei@3179 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3179 25 genpkg_rules()
claudinei@3179 26 {
claudinei@3179 27 mkdir -p $fs/usr
claudinei@3179 28 cp -a $_pkg/usr/lib $fs/usr
claudinei@3179 29 }
claudinei@3179 30