wok-next view geoip/receipt @ rev 7569

Add pycurl.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 09 05:18:16 2010 +0000 (2010-12-09)
parents
children 3bc99b51b9cf
line source
1 # SliTaz package receipt.
3 PACKAGE="geoip"
4 VERSION="1.4.6"
5 CATEGORY="network"
6 SHORT_DESC="Non-DNS IP-to-country resolver C library & utils."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="zlib"
9 BUILD_DEPENDS="zlib-dev"
10 SOURCE="GeoIP"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.maxmind.com/app/c"
13 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc/geoip \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/GeoIP $fs/usr/share
36 }