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