wok-current view glade-perl/receipt @ rev 10446

accessx: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 10:09:41 2011 +0200 (2011-05-25)
parents
children 60f29a199772
line source
1 # SliTaz package receipt.
3 PACKAGE="glade-perl"
4 VERSION="1.007"
5 CATEGORY="development"
6 SHORT_DESC="Gtk2-GladeXML perl bindings for glade 2.x"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libglade perl-gtk2 perl"
9 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig"
10 SOURCE="Gtk2-GladeXML"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://gtk2-perl.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/gtk2-perl/$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 }