wok annotate glade-perl/receipt @ rev 10258
Add glade-perl.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:07:25 2011 +0000 (2011-05-21) |
parents | |
children | 60f29a199772 |
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" |
slaxemulator@10258 | 9 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig" |
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 |