29 lines
842 B
Bash
29 lines
842 B
Bash
# Template file for 'aiccu'
|
|
pkgname=aiccu
|
|
version=20070115
|
|
revision=2
|
|
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
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs} CC="$CC" LD="$LD" RPM_OPT_FLAGS="$CFLAGS"
|
|
}
|
|
|
|
do_install() {
|
|
vbin unix-console/aiccu
|
|
vinstall doc/aiccu.conf 0640 etc
|
|
vman doc/aiccu.1
|
|
vlicense doc/LICENSE
|
|
}
|