File: rules

package info (click to toggle)
lua-curses 1%3A9.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, trixie
  • size: 2,208 kB
  • sloc: sh: 11,898; ansic: 2,686; makefile: 52
file content (12 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

override_dh_auto_configure:
	./configure --prefix=/usr/ \
                LUA=/usr/bin/lua5.1 LUA_INCLUDE=-I/usr/include/lua5.1/ \
                CFLAGS="`pkg-config lua5.1 ncursesw --cflags`"
	dh_auto_configure