wok-6.x view geoip/receipt @ rev 21033

updated hdparm (9.37 -> 9.58)
author Hans-G?nter Theisgen
date Mon Mar 11 13:14:36 2019 +0100 (2019-03-11)
parents dc0ce6d01be6
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="geoip"
4 VERSION="1.4.8"
5 CATEGORY="network"
6 SHORT_DESC="Non-DNS IP-to-country resolver C library & utils."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 SOURCE="GeoIP"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.maxmind.com/app/c"
12 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="zlib-dev automake autoconf libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 autoreconf -i
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc/geoip \
26 $CONFIGURE_ARGS 2>&1 | \
27 sed 's|missing: No such|missing: no such|'
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/etc $fs
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/GeoIP $fs/usr/share
39 }