wok view libmaxminddb/receipt @ rev 25801

created recipe for xfce4-calculator-plugin
author Hans-G?nter Theisgen
date Sat Nov 02 14:21:07 2024 +0100 (3 months ago)
parents 9925a548ba96
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmaxminddb"
4 VERSION="1.11.0"
5 CATEGORY="libs"
6 TAGS="geoip"
7 SHORT_DESC="Maxmind GeoIP2 database library."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="Apache-2.0"
10 WEB_SITE="https://github.com/maxmind/libmaxminddb"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/maxmind/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="curl"
16 BUILD_DEPENDS="curl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --with-pic \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }