wok view glade-perl/receipt @ rev 25222

updated python-pyajam ( -> 0.2)
author Hans-G?nter Theisgen
date Wed Jul 13 16:19:37 2022 +0100 (2022-07-13)
parents 7bb096863642
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="glade-perl"
4 VERSION="1.007"
5 CATEGORY="development"
6 SHORT_DESC="Gtk2-GladeXML perl bindings for glade 2.x"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="Gtk2-GladeXML"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://gtk2-perl.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/gtk2-perl/$TARBALL"
14 DEPENDS="libglade perl-gtk2 perl"
15 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig perl-gtk2 libglade-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/gtk2-perl/files/Gtk2_GladeXML/ 2>/dev/null | \
20 sed '/Click to/!d;s|.*enter ||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 perl Makefile.PL &&
28 make &&
29 make install DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }