Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)

Paste

Pasted by PATRI0T ( 15 years ago )
#!/usr/bin/make -f

_shlibdeps := -a -Xlib/xtables
_configure := --with-xtlibdir=/lib/xtables 
        --enable-libipq --enable-devel --libdir=/lib

%:
        dh $@

binary: binary-arch binary-indep
binary-arch binary-indep: install
binary-arch:
        dh $@ --before dh_shlibdeps
        dpkg-gensymbols -piptables
        dh_shlibdeps $(_shlibdeps)
        dh $@ --remaining

ifneq ($(USE_BUILD_DIR),TRUE)
include debian/builddir.mk
else
build: debian/stamp-build
debian/stamp-build:
        dh build --before dh_auto_configure
        autoreconf -fi
        dh_auto_configure -- $(_configure)
        dh build --remaining
        touch $@
override_dh_auto_check:
        echo "No checking here"
install: build debian/stamp-install
debian/stamp-install:
        install -v -D iptables-apply debian/tmp/usr/sbin/iptables-apply
#       dh_makeshlibs
        dh install
        touch $@
endif

 

Revise this Paste

Your Name: Code Language: