wok-current view perl-glib/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | 1bd9eddc4186 |
children | b2b12df1bd72 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-glib"
4 SOURCE="Glib"
5 VERSION="1.240"
6 CATEGORY="development"
7 SHORT_DESC="Perl wrappers for the GLib utility and Object libraries."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL"
10 DEPENDS="perl glib"
11 BUILD_DEPENDS="perl perl-extutils-depends perl-extutils-pkgconfig glib-dev"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://search.cpan.org/~tsch/Glib/"
14 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make install DESTDIR=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }