File: rules

package info (click to toggle)
lua-geoip 0.1.2%2Bgit20160613-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 192 kB
  • ctags: 79
  • sloc: ansic: 751; makefile: 10; sh: 10
file content (15 lines) | stat: -rwxr-xr-x 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

#export DH_LUA_OPTS=verbose
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=lua --with lua

override_dh_auto_test:
	mkdir ./geoip
	cp ./5.1-geoip.country/geoip/country.so ./geoip/country.so
	cp ./5.1-geoip.city/geoip/city.so ./geoip/city.so
	ln -sf /usr/share/GeoIP/GeoIP.dat ./GeoIP.dat
	ln -sf /usr/share/GeoIP/GeoIPCity.dat ./GeoLiteCity.dat
	dh_auto_test --buildsystem=lua