Skip to content
Permalink
96c92cb4ab
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 45 lines (32 sloc) 854 Bytes
#!/usr/bin/env beesh
SRCURL[0]="http://www.maxmind.com/download/geoip/api/c/GeoIP-${PKGVERSION}.tar.gz"
PATCHURL[0]="http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz"
#PATCHURL[0]=""
# BEE_CONFIGURE=compat
# BEE_BUILDTYPE=
BEE_EXTRACT_STRIP=2
# EXCLUDE=()
build_in_sourcedir
mee_extract() {
bee_extract "${@}"
}
mee_patch() {
# bee_patch "${@}"
# gzip --force -d -c "${F}/GeoLiteCity.dat.gz" > ${S}/GeoLiteCity.dat
gzip --force -d -c "${@}" > ${S}/GeoLiteCity.dat
}
mee_configure() {
cp -vax /usr/share/libtool/config/ltmain.sh ${S}
bee_configure \
--disable-dependency-tracking \
--with-gnu-ld
}
mee_build() {
grep LIBTOOL ${S}/Makefile
bee_build
}
mee_install() {
bee_install
mkdir -p ${D}/usr/share/GeoIP
mv -v ${S}/GeoLiteCity.dat ${D}/usr/share/GeoIP/GeoIPCity.dat
}