wok annotate glade-perl/receipt @ rev 24296
Up python-gevent (21.12.0), sqlite3-ruby (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 10:17:16 2022 +0000 (2022-01-15) |
parents | 7bb096863642 |
children | 7dd01dedad38 |
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 |
pascal@24103 | 17 current_version() |
pascal@24103 | 18 { |
pascal@24103 | 19 wget -O - https://sourceforge.net/projects/gtk2-perl/files/Gtk2_GladeXML/ 2>/dev/null | \ |
pascal@24103 | 20 sed '/Click to/!d;s|.*enter ||;s|".*||;q' |
pascal@24103 | 21 } |
pascal@24103 | 22 |
slaxemulator@10258 | 23 # Rules to configure and make the package. |
slaxemulator@10258 | 24 compile_rules() |
slaxemulator@10258 | 25 { |
slaxemulator@10258 | 26 cd $src |
slaxemulator@10258 | 27 perl Makefile.PL && |
slaxemulator@10258 | 28 make && |
slaxemulator@10258 | 29 make install DESTDIR=$DESTDIR |
slaxemulator@10258 | 30 } |
slaxemulator@10258 | 31 |
slaxemulator@10258 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10258 | 33 genpkg_rules() |
slaxemulator@10258 | 34 { |
slaxemulator@10258 | 35 mkdir -p $fs/usr |
pascal@15215 | 36 cp -a $install/usr/lib $fs/usr |
slaxemulator@10258 | 37 } |
slaxemulator@10258 | 38 |