diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-27 15:59:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-27 15:59:33 +0000 |
commit | 6342d2391fe0c806c63b0502dc8b7e8bca8f5960 (patch) | |
tree | bd42f298e7edb311cb21a5ba7d849800f8097910 /testing/atheme-services | |
parent | c8e8c756c116b3465271d4cfb6af3b2c583b77ce (diff) | |
download | aports-6342d2391fe0c806c63b0502dc8b7e8bca8f5960.tar.bz2 aports-6342d2391fe0c806c63b0502dc8b7e8bca8f5960.tar.xz |
testing/atheme-services: new aport
Atheme IRC services
http://www.atheme.net/atheme.html
Diffstat (limited to 'testing/atheme-services')
-rw-r--r-- | testing/atheme-services/APKBUILD | 52 | ||||
-rw-r--r-- | testing/atheme-services/cc.patch | 11 |
2 files changed, 63 insertions, 0 deletions
diff --git a/testing/atheme-services/APKBUILD b/testing/atheme-services/APKBUILD new file mode 100644 index 0000000000..6a4e99fcab --- /dev/null +++ b/testing/atheme-services/APKBUILD @@ -0,0 +1,52 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=atheme-services +pkgver=7.0.5 +pkgrel=0 +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" +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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +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" diff --git a/testing/atheme-services/cc.patch b/testing/atheme-services/cc.patch new file mode 100644 index 0000000000..25ca1b47ca --- /dev/null +++ b/testing/atheme-services/cc.patch @@ -0,0 +1,11 @@ +--- ./buildsys.module.mk.orig 2013-02-27 15:42:02.645844726 +0000 ++++ ./buildsys.module.mk 2013-02-27 15:42:29.722758404 +0000 +@@ -8,7 +8,7 @@ + install: $(PLUGIN) + + .c$(PLUGIN_SUFFIX): +- COMPILER=${CC}; \ ++ COMPILER="${CC}"; \ + COMPILER_FLAGS="-MMD -MP ${CFLAGS} ${PLUGIN_CFLAGS} ${CPPFLAGS} ${PLUGIN_LDFLAGS} ${LDFLAGS} -o $@ $< ${LIBS}"; \ + ${COMPILE_STATUS}; \ + if $${COMPILER} $${COMPILER_FLAGS}; then \ |