aboutsummaryrefslogtreecommitdiffstats
path: root/main/aiccu/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-16 08:02:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-16 08:02:10 +0000
commitb437ffce4103fb116a27506fe3d21e91031b59bf (patch)
treee2c5ff6ad7098aa3d6072ed17a66fba7413f809d /main/aiccu/APKBUILD
parentdc93e81cd095b0506ebead1de16797a96fcbdb00 (diff)
downloadaports-b437ffce4103fb116a27506fe3d21e91031b59bf.tar.bz2
aports-b437ffce4103fb116a27506fe3d21e91031b59bf.tar.xz
main/aiccu: moved from testing
Diffstat (limited to 'main/aiccu/APKBUILD')
-rw-r--r--main/aiccu/APKBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/main/aiccu/APKBUILD b/main/aiccu/APKBUILD
new file mode 100644
index 0000000000..809456a84a
--- /dev/null
+++ b/main/aiccu/APKBUILD
@@ -0,0 +1,54 @@
+# Contributor: <xmingske@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=aiccu
+pkgver=20070115
+pkgrel=1
+pkgdesc="Automatic IPv6 Connectivity Client Utility"
+url="https://www.sixxs.net/"
+arch="all"
+license="SixXS"
+depends="iproute2"
+makedepends="gnutls-dev"
+source="https://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz
+ musl_does_not_have_res_ninit.patch
+ fix_linking.patch
+ aiccu.initd
+ "
+subpackages="${pkgname}-doc"
+
+_builddir="$srcdir"/${pkgname}
+
+prepare() {
+ local pf
+ cd "${_builddir}"
+ for pf in ${srcdir}/*.patch; do
+ patch -p1 -i ${pf} || return 1
+ done
+}
+
+build() {
+ cd "${_builddir}"
+ make -C unix-console HAVE_SYSTEMD=0 || return 1
+}
+
+package() {
+ cd "${_builddir}"
+ install -D -m0755 "${_builddir}"/unix-console/aiccu ${pkgdir}/usr/sbin/aiccu || return 1
+ install -D -m0755 "${srcdir}"/aiccu.initd ${pkgdir}/etc/init.d/aiccu || return 1
+ install -D -m0644 "${_builddir}"/doc/aiccu.conf ${pkgdir}/etc/aiccu.conf || return 1
+ install -D -m0644 "${_builddir}"/doc/HOWTO ${pkgdir}/usr/share/doc/aiccu/HOWTO || return 1
+ install -D -m0644 "${_builddir}"/doc/README ${pkgdir}/usr/share/doc/aiccu/README || return 1
+ install -D -m0644 "${_builddir}"/doc/changelog ${pkgdir}/usr/share/doc/aiccu/changelog || return 1
+}
+md5sums="c9bcc83644ed788e22a7c3f3d4021350 aiccu_20070115.tar.gz
+54a0045d766a1f0696c46800a39a8d92 musl_does_not_have_res_ninit.patch
+cb9060144aa68e3e2be394427a10f39f fix_linking.patch
+d34e071a9c8312f5cda899199e9e7095 aiccu.initd"
+sha256sums="2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760 aiccu_20070115.tar.gz
+f748e1df9ec8381709d983f60282c9dde839bd00eb3db551e45578e155e6772c musl_does_not_have_res_ninit.patch
+df7820a873e720badefe6bc71b658ce8e0c1c5ac2c16f04e5174f3a7d27b5053 fix_linking.patch
+d8c57b5475ed191781f6ce564124320f4b9dabc47f25dbcd5b047afa271006d6 aiccu.initd"
+sha512sums="15b2f0dab51843e58abbd8a0cc13139e492057ee348e368e1b65476bb2760119e88982cd03ffc6ec2cb563a1b7a061e1f66a98861eaad15972d486ac17b7bc78 aiccu_20070115.tar.gz
+a13a112eb8bffe125cff9452f9643d516ba4d7168c23e2e15280da9c21e7fa373b8f40cbbf52d353a556820db6b528309055b3a67efc4366e914e4d8e0717aec musl_does_not_have_res_ninit.patch
+c131ec6d79caa38d315ac938718d0752c62dee148fe7200eb7ea908d2911ff2e99814505552207b676f0a6e25e36d3ecaa9e4ada59310e150cc3faa603662821 fix_linking.patch
+42bffa006170ee27f288446cb773d5d9bac6adeb1914e53a6ec563c21eafb98528f77bce1e5d2a17db50f628df6b526869b3e9d3446fa68cee321bd9bf939e9b aiccu.initd"