milis/talimatname/genel/g/geoip/talimat

24 lines
450 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
2018-08-09 14:30:00 +02:00
# Paketçi: milisarge
2017-10-27 20:46:27 +02:00
# Gerekler: geoip-database
2018-08-09 14:30:00 +02:00
# Grup: ağ
2017-06-01 18:14:21 +02:00
2017-10-28 14:10:23 +02:00
isim=geoip
2018-08-14 13:13:41 +02:00
surum=1.6.12
2017-10-28 14:10:23 +02:00
devir=1
2018-08-14 13:13:41 +02:00
kaynak=(https://github.com/maxmind/${isim}-api-c/archive/v${surum}.tar.gz::$isim-$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
}