wok-6.x view geoip/receipt @ rev 17146
libmrss: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 10 13:04:01 2014 +0200 (2014-09-10) |
parents | fd22b033a84a |
children | cf4ce87b7beb |
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 cd $src
21 autoreconf -i
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --sysconfdir=/etc/geoip \
27 $CONFIGURE_ARGS &&
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 }