void-packages/srcpkgs/aiccu/template

30 lines
842 B
Bash
Raw Normal View History

2014-11-04 19:25:43 +01:00
# Template file for 'aiccu'
pkgname=aiccu
version=20070115
2015-06-06 17:28:17 +02:00
revision=2
2014-11-04 19:25:43 +01:00
wrksrc=aiccu
conf_files="etc/aiccu.conf"
makedepends="gnutls-devel"
depends="iproute2"
short_desc="SixXS Automatic IPv6 Connectivity Client Utility"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.sixxs.net/tools/aiccu/"
distfiles="http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${version}.tar.gz"
checksum=2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760
post_extract() {
sed -i 's/\$(CC) \$(CFLAGS) \$(LDFLAGS) -o $@ \$(OBJS)/$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)/; /strip/d' unix-console/Makefile
}
2015-06-06 17:28:17 +02:00
do_build() {
make ${makejobs} CC="$CC" LD="$LD" RPM_OPT_FLAGS="$CFLAGS"
}
2014-11-04 19:25:43 +01:00
do_install() {
vbin unix-console/aiccu
vinstall doc/aiccu.conf 0640 etc
vman doc/aiccu.1
vlicense doc/LICENSE
}