Skip to content

Instantly share code, notes, and snippets.

@fmitha
Created June 7, 2019 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fmitha/12fcfe79c6c88594bdfa3c111069bb3c to your computer and use it in GitHub Desktop.
Save fmitha/12fcfe79c6c88594bdfa3c111069bb3c to your computer and use it in GitHub Desktop.
#!/usr/bin/make -f
export DH_VERBOSE=1
DEB_DESTDIR=debian/tmp
binary:
dh binary
%:
dh $@
override_dh_auto_configure:
./configure \
--lua-version=5.2 \
--prefix=/usr \
--sysconfdir=/etc/luarocks \
--with-lua=/usr \
--with-lua-include=/usr/include/lua5.2 \
--with-lua-lib=/usr/local/lib \
--rocks-tree=/usr/local/ \
override_dh_auto_install:
echo "FOO"
make install DESTDIR=debian/tmp
override_dh_auto_clean:
rm -f luarocks.1 luarocks-admin.1 lua
make clean || true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment