From 3f3124841bb44ebdf2cb2cd376f0bb9f61b7eb96 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Wed, 12 Aug 2015 16:07:02 +0200 Subject: [PATCH] hans: simplified build style --- srcpkgs/hans/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/hans/template b/srcpkgs/hans/template index 9480d41a5a9..1e468706590 100644 --- a/srcpkgs/hans/template +++ b/srcpkgs/hans/template @@ -1,8 +1,7 @@ # Template file for 'hans' pkgname=hans version=0.4.4 -revision=1 -build_style=gnu-makefile +revision=2 short_desc="ICMP tunneling software" maintainer="Andrea Brancaleoni " license="GPL-3" @@ -10,9 +9,8 @@ homepage="http://code.gerade.org/hans/" distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz" checksum=68fd2497e2e0219ee17a6ee06a85efbae0139b3ba068bb4b9aa65c6ab7629d37 -pre_build() { - sed -i 's|GCC|CC|g' Makefile - sed -i 's|GPP|CXX|g' Makefile +do_build() { + make GCC="$CC" GPP="$CXX" } do_install() {