diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-07 14:40:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-07 14:40:25 +0000 |
commit | da5c2bd399502ac39b7fdd942ca121eb73d54f71 (patch) | |
tree | fca18ede4685dfbf91e7f19e4449e66eb648aef7 /testing/ircservices/APKBUILD | |
parent | 09465b07d6e48a64b416930c92788f54da62437f (diff) | |
download | aports-da5c2bd399502ac39b7fdd942ca121eb73d54f71.tar.bz2 aports-da5c2bd399502ac39b7fdd942ca121eb73d54f71.tar.xz |
main/ircservices: moved from testing
fixes #189
Diffstat (limited to 'testing/ircservices/APKBUILD')
-rw-r--r-- | testing/ircservices/APKBUILD | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/testing/ircservices/APKBUILD b/testing/ircservices/APKBUILD deleted file mode 100644 index 46a07c3c36..0000000000 --- a/testing/ircservices/APKBUILD +++ /dev/null @@ -1,86 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=ircservices -pkgver=5.1.23 -pkgrel=1 -pkgdesc="Services for IRC (NickServ, ChanServ, MemoServ)" -url="http://www.ircservices.za.net/" -license="GPL" -depends= -makedepends="perl" -install=$pkgname.pre-install -pkgusers="ircservices" -pkggroups="ircservices" -subpackages="$pkgname-doc" -source="http://www.ircservices.za.net/download/$pkgname-$pkgver.tar.gz - $pkgname.initd" - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - sed -i \ - -e "s/-m 750/-m 755/" \ - -e "s/-m 640/-m 644/" \ - configure -} - -build() { - cd "$srcdir"/$pkgname-$pkgver - RUNGROUP=ircservices ./configure \ - -cc "$CC" \ - -cflags "$CFLAGS" \ - -bindest /usr/bin \ - -datdest /var/lib/ircservices \ - || return 1 - - # build targets one by one as paralell builds breaks - make config-check &&\ - make ircservices &&\ - make languages &&\ - make tools -} - -package() { - cd "$srcdir"/$pkgname-$pkgver -# export INSTALL_PREFIX="$pkgdir" - make -j1 \ - BINDEST="$pkgdir"/usr/bin \ - DATDEST="$pkgdir"/var/lib/ircservices \ - install || return 1 - - install -d "$pkgdir"/usr/share/man/man8 - install docs/ircservices.8 "$pkgdir"/usr/share/man/man8/ircservices.8 - install docs/convert-db.8 \ - "$pkgdir"/usr/share/man/man8/ircservices-convert-db.8 - - # try conform to FHS - cd "$pkgdir" - install -d etc/ircservices usr/share/ircservices var/log/ircservices - - mv var/lib/ircservices/convert-db usr/bin/ircservices-convert-db - - mv var/lib/ircservices/example-ircservices.conf \ - etc/ircservices/ircservices.conf - ln -s /etc/ircservices/ircservices.conf \ - var/lib/ircservices/ircservices.conf - - mv var/lib/ircservices/example-modules.conf \ - etc/ircservices/modules.conf - ln -s /etc/ircservices/modules.conf var/lib/ircservices/modules.conf - - mv var/lib/ircservices/languages \ - var/lib/ircservices/helpfiles \ - usr/share/ircservices/ - ln -s /usr/share/ircservices/languages var/lib/ircservices/ - ln -s /usr/share/ircservices/helpfiles var/lib/ircservices/ - - install -Dm755 "$srcdir"/ircservices.initd \ - etc/init.d/ircservices - - chown ircservices:ircservices var/lib/ircservices \ - var/log/ircservices - - chown root:ircservices etc/ircservices/ircservices.conf \ - etc/ircservices/modules.conf -} - -md5sums="666351f44adf57effc310a7a5943c9a2 ircservices-5.1.23.tar.gz -279ea42c5d97b47787b5959c9981fbaa ircservices.initd" |