milis/talimatname/genel/g/geoip/talimat

23 lines
417 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: cografi ip çözücü veritabanı uygulaması
2017-06-01 18:14:21 +02:00
# URL: http://www.maxmind.com/app/c
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: geoip-database
2017-06-01 18:14:21 +02:00
2017-10-28 14:10:23 +02:00
isim=geoip
surum=1.6.10
devir=1
kaynak=(https://github.com/maxmind/${isim}-api-c/archive/v${surum}.tar.gz)
2017-06-01 18:14:21 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd geoip-api-c-$surum
2017-06-01 18:14:21 +02:00
autoreconf -vi
./configure \
--sysconfdir=/etc/geoip \
--prefix=/usr \
--mandir=/usr/man
make
make DESTDIR=$PKG install
}