Browse Source

* improved etcnet to make use of the provided Makefile in contrib for

installation and not to simply copy and to remove .orig files after
	  we patched the sources


git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20220 10447126-35f2-4685-b0cf-6dd780d3921f
early
Christian Wiese 18 years ago
parent
commit
f25e719dc2
  1. 13
      network/etcnet/etcnet.conf

13
network/etcnet/etcnet.conf

@ -12,12 +12,9 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
makeopt=''
makeinstopt=''
etcnet_install() {
cp -av etc/* $root$sysconfdir/
}
hook_add postmake 5 "etcnet_install"
prefix=$root
var_append makeopt " " "-f contrib/Makefile"
var_append makeinstopt " " "-f contrib/Makefile"
# if we patch we have to remove the .orig files before installing
hook_add postpatch 5 "find $builddir/$pkg-$ver -name '*.orig' | xargs rm -vf"

Loading…
Cancel
Save