wok-current annotate glade-perl/receipt @ rev 19870
linld: fix progname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 15:54:03 2017 +0200 (2017-03-30) |
parents | 841228ec1482 |
children | ca4a422cce07 |
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" |
pascal@15215 | 8 LICENSE="GPL2" |
slaxemulator@10258 | 9 SOURCE="Gtk2-GladeXML" |
slaxemulator@10258 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10258 | 11 WEB_SITE="http://gtk2-perl.sourceforge.net/" |
slaxemulator@10258 | 12 WGET_URL="$SF_MIRROR/gtk2-perl/$TARBALL" |
slaxemulator@10258 | 13 |
pascal@15215 | 14 DEPENDS="libglade perl-gtk2 perl" |
pascal@15215 | 15 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig perl-gtk2 libglade-dev" |
pascal@15215 | 16 |
slaxemulator@10258 | 17 # Rules to configure and make the package. |
slaxemulator@10258 | 18 compile_rules() |
slaxemulator@10258 | 19 { |
slaxemulator@10258 | 20 cd $src |
slaxemulator@10258 | 21 perl Makefile.PL && |
slaxemulator@10258 | 22 make && |
slaxemulator@10258 | 23 make install DESTDIR=$DESTDIR |
slaxemulator@10258 | 24 } |
slaxemulator@10258 | 25 |
slaxemulator@10258 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10258 | 27 genpkg_rules() |
slaxemulator@10258 | 28 { |
slaxemulator@10258 | 29 mkdir -p $fs/usr |
pascal@15215 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@10258 | 31 } |
slaxemulator@10258 | 32 |