Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/sh## 30_nonettle.dpatch by Magnus Holmgren <magnus@kibibyte.se>#### DP: Link dynamically with libnettle-dev instead of the bundled versionset -eFILES=`find src -name nettle -prune -o -name Makefile.in -print`dpatch_patch() {if [ ! -f debian/patched/30_nonettle_orig.tar.gz ]; thentar -czf debian/patched/30_nonettle_orig.tar.gz $FILESsed -ri -e '/^LDADD/s%(\.\.?/)*nettle/libnettle\.a%-lnettle%' \-e 's%\s*(-[IL]\s*)?(\.\.?/)*\bnettle(/libnettle\.a)?\b%%g' $FILESmv src/nettle src/nettle-unusedfi}dpatch_unpatch() {if [ -f debian/patched/30_nonettle_orig.tar.gz ]; thenmv src/nettle-unused src/nettletar -xzf debian/patched/30_nonettle_orig.tar.gzfi}DPATCH_LIB_NO_DEFAULT=1. /usr/share/dpatch/dpatch.lib.sh