wok-current view perl-geo-ipfree/receipt @ rev 25792

Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Tue Oct 07 05:55:24 2025 +0000 (3 weeks ago)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-geo-ipfree"
4 VERSION="1.151940"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Geo::IPfree."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Geo-IPfree"
11 SOURCE="Geo-IPfree"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/B/BR/BRICAS/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 HOST_ARCH="i486 x86_64"
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 }