diff options
Diffstat (limited to 'unmaintained/atheme-services/APKBUILD')
-rw-r--r-- | unmaintained/atheme-services/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/unmaintained/atheme-services/APKBUILD b/unmaintained/atheme-services/APKBUILD new file mode 100644 index 0000000000..392ded93ec --- /dev/null +++ b/unmaintained/atheme-services/APKBUILD @@ -0,0 +1,52 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=atheme-services +pkgver=7.0.5 +pkgrel=1 +pkgdesc="Atheme IRC services" +url="http://www.atheme.net/atheme.html" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev openssl-dev pcre-dev libmowgli-dev>=2" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.atheme.net/downloads/atheme-services-$pkgver.tar.bz2 + cc.patch" + +_builddir="$srcdir"/atheme-services-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc/atheme \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-fhs-paths \ + --disable-rpath \ + --with-pcre \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="e9b7ae54374eed559d0a693e3bb34ac0 atheme-services-7.0.5.tar.bz2 +ad2542446b126511c61250d8f6a085d8 cc.patch" +sha256sums="25271eb1e9218ceeec87824dbe90a2bfc59f116e258b6ee803573dfa8c4fcc30 atheme-services-7.0.5.tar.bz2 +d49ad794e1513477bbe69dfe678ab90f6eb496f209a64ca114f7cde2fd64ff03 cc.patch" +sha512sums="dfa27c2d7a90ae9be173ccf6675bec4db92f92f01a9ebb8e8847730f45d159db316d827cbe1f30276dbd7db326529d42f1281e0b6940261992893f0ff36710a5 atheme-services-7.0.5.tar.bz2 +f925ca0d69c79e597bcf322b0b7dbdf9f929166cbb8e62171f0b4674309023eaa679df29f9fdf11ccdacf770dad676db32657f58ea62d066bf9cda5709e55db8 cc.patch" |