wok-6.x annotate perl-gtk2/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | 98ee55c71888 |
children |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-gtk2" |
Hans-G?nter@23340 | 4 VERSION="1.24993" |
claudinei@3179 | 5 CATEGORY="development" |
claudinei@3179 | 6 SHORT_DESC="Perl interface to the 2.x series of the Gimp Toolkit Library." |
claudinei@3179 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@23340 | 9 WEB_SITE="https://metacpan.org/release/Gtk2" |
Hans-G?nter@23340 | 10 |
Hans-G?nter@23340 | 11 SOURCE="Gtk2" |
claudinei@3179 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23340 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL" |
Hans-G?nter@23340 | 14 |
Hans-G?nter@23340 | 15 DEPENDS="gtk+ perl perl-cairo perl-glib perl-pango" |
Hans-G?nter@23340 | 16 BUILD_DEPENDS="gtk+-dev perl perl-cairo perl-extutils-depends |
Hans-G?nter@23340 | 17 perl-extutils-pkgconfig perl-glib perl-pango xorg-dev |
Hans-G?nter@23340 | 18 xorg-kbproto xorg-renderproto xorg-xproto" |
claudinei@3179 | 19 |
pascal@24102 | 20 current_version() |
pascal@24102 | 21 { |
pascal@24102 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 24 } |
pascal@24102 | 25 |
claudinei@3179 | 26 # Rules to configure and make the package. |
claudinei@3179 | 27 compile_rules() |
claudinei@3179 | 28 { |
claudinei@3179 | 29 perl Makefile.PL && |
claudinei@3179 | 30 make && |
slaxemulator@10170 | 31 make install DESTDIR=$DESTDIR |
Hans-G?nter@23340 | 32 |
claudinei@14873 | 33 rm -rf $pkgdir/installnone |
claudinei@3179 | 34 } |
claudinei@3179 | 35 |
claudinei@3179 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 37 genpkg_rules() |
claudinei@3179 | 38 { |
claudinei@3179 | 39 mkdir -p $fs/usr |
Hans-G?nter@23340 | 40 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 41 } |