Created
June 7, 2019 04:23
-
-
Save fmitha/12fcfe79c6c88594bdfa3c111069bb3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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