wok view geoip/receipt @ rev 14626

Up: cups to 1.6.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jun 01 12:06:52 2013 +0000 (2013-06-01)
parents 9fa62bfcec02
children d1c17bd2c2bc
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 SOURCE="GeoIP"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.maxmind.com/app/c"
11 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/etc $fs
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/GeoIP $fs/usr/share
38 }