wok-6.x annotate glade-perl/receipt @ rev 10730
slitaz-mercurial-style: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 29 04:12:19 2011 +0200 (2011-05-29) |
parents | 60f29a199772 |
children | 7bb096863642 |
rev | line source |
---|---|
slaxemulator@10258 | 1 # SliTaz package receipt. |
slaxemulator@10258 | 2 |
slaxemulator@10258 | 3 PACKAGE="glade-perl" |
slaxemulator@10258 | 4 VERSION="1.007" |
slaxemulator@10258 | 5 CATEGORY="development" |
slaxemulator@10258 | 6 SHORT_DESC="Gtk2-GladeXML perl bindings for glade 2.x" |
slaxemulator@10258 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@10258 | 8 DEPENDS="libglade perl-gtk2 perl" |
pascal@10542 | 9 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig perl-gtk2 libglade-dev" |
slaxemulator@10258 | 10 SOURCE="Gtk2-GladeXML" |
slaxemulator@10258 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10258 | 12 WEB_SITE="http://gtk2-perl.sourceforge.net/" |
slaxemulator@10258 | 13 WGET_URL="$SF_MIRROR/gtk2-perl/$TARBALL" |
slaxemulator@10258 | 14 |
slaxemulator@10258 | 15 # Rules to configure and make the package. |
slaxemulator@10258 | 16 compile_rules() |
slaxemulator@10258 | 17 { |
slaxemulator@10258 | 18 cd $src |
slaxemulator@10258 | 19 perl Makefile.PL && |
slaxemulator@10258 | 20 make && |
slaxemulator@10258 | 21 make install DESTDIR=$DESTDIR |
slaxemulator@10258 | 22 } |
slaxemulator@10258 | 23 |
slaxemulator@10258 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10258 | 25 genpkg_rules() |
slaxemulator@10258 | 26 { |
slaxemulator@10258 | 27 mkdir -p $fs/usr |
slaxemulator@10258 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@10258 | 29 } |
slaxemulator@10258 | 30 |