wok annotate glade-perl/receipt @ rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents 7dd01dedad38
children
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"
pascal@25460 11 WEB_SITE="https://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@25461 17 # What is the latest version available today?
pascal@24103 18 current_version()
pascal@24103 19 {
pascal@24103 20 wget -O - https://sourceforge.net/projects/gtk2-perl/files/Gtk2_GladeXML/ 2>/dev/null | \
pascal@24103 21 sed '/Click to/!d;s|.*enter ||;s|".*||;q'
pascal@24103 22 }
pascal@24103 23
slaxemulator@10258 24 # Rules to configure and make the package.
slaxemulator@10258 25 compile_rules()
slaxemulator@10258 26 {
slaxemulator@10258 27 cd $src
slaxemulator@10258 28 perl Makefile.PL &&
slaxemulator@10258 29 make &&
slaxemulator@10258 30 make install DESTDIR=$DESTDIR
slaxemulator@10258 31 }
slaxemulator@10258 32
slaxemulator@10258 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10258 34 genpkg_rules()
slaxemulator@10258 35 {
slaxemulator@10258 36 mkdir -p $fs/usr
pascal@15215 37 cp -a $install/usr/lib $fs/usr
slaxemulator@10258 38 }