wok view perl-glib/receipt @ rev 10766

jstetris: Fixed jstetris to work with source dvd when offline. Added index.html to stuff so only JsTetris.js file is needed. Also there is no need for compile_rules with this one anymore.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 31 08:08:28 2011 +0000 (2011-05-31)
parents 05a89a733336
children 1bd9eddc4186
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-glib"
4 SOURCE="Glib"
5 VERSION="1.223"
6 CATEGORY="development"
7 SHORT_DESC="Perl wrappers for the GLib utility and Object libraries."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="perl glib"
10 BUILD_DEPENDS="perl perl-extutils-depends perl-extutils-pkgconfig glib-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://cpan.org/"
13 WGET_URL="http://cpan.org/authors/id/T/TS/TSCH/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 perl Makefile.PL &&
20 make &&
21 make install DESTDIR=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }