File: rules

package info (click to toggle)
lua-geoip 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 216 kB
  • sloc: ansic: 765; sh: 10; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
	ln -sf /usr/share/GeoIP/GeoIP.dat ./GeoIP.dat
	ln -sf /usr/share/GeoIP/GeoIPv6.dat .
	dh_auto_test --buildsystem=lua