hans: simplified build style
This commit is contained in:
parent
d4c09ffbc3
commit
3f3124841b
1 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'hans'
|
# Template file for 'hans'
|
||||||
pkgname=hans
|
pkgname=hans
|
||||||
version=0.4.4
|
version=0.4.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
|
||||||
short_desc="ICMP tunneling software"
|
short_desc="ICMP tunneling software"
|
||||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -10,9 +9,8 @@ homepage="http://code.gerade.org/hans/"
|
||||||
distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz"
|
distfiles="https://github.com/friedrich/$pkgname/archive/v$version.tar.gz"
|
||||||
checksum=68fd2497e2e0219ee17a6ee06a85efbae0139b3ba068bb4b9aa65c6ab7629d37
|
checksum=68fd2497e2e0219ee17a6ee06a85efbae0139b3ba068bb4b9aa65c6ab7629d37
|
||||||
|
|
||||||
pre_build() {
|
do_build() {
|
||||||
sed -i 's|GCC|CC|g' Makefile
|
make GCC="$CC" GPP="$CXX"
|
||||||
sed -i 's|GPP|CXX|g' Makefile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue