diff options
Diffstat (limited to 'extra/ngircd/APKBUILD')
-rw-r--r-- | extra/ngircd/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/ngircd/APKBUILD b/extra/ngircd/APKBUILD new file mode 100644 index 000000000..2f618a077 --- /dev/null +++ b/extra/ngircd/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ngircd +pkgver=14.1 +pkgrel=0 +pkgdesc="Next Generation IRC Daemon" +url="http://ngircd.barton.de/" +license="GPL" +makedepends="" +makedepends="openssl-dev zlib-dev" +install="$pkgname.pre-install" +source="ftp://ftp.berlios.de/pub/$pkgname/$pkgname-$pkgver.tar.gz + $pkgname.initd + $install" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + sed -i \ + -e "s:/usr/local/etc/ngircd.motd:/etc/ngircd/ngircd.motd:" \ + -e "s:;ServerUID = 65534:ServerUID = ngircd:" \ + -e "s:;ServerGID = 65534:ServerGID = nogroup:" \ + doc/sample-ngircd.conf + + ./configure --prefix=/usr \ + --sysconfdir=/etc/ngircd \ + --mandir=/usr/share/man \ + --without-ident \ + --with-openssl + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname +} + +md5sums="eef90855414c35bfb6590d17e24ee06f ngircd-14.1.tar.gz +1a91f517ef865b51d67b77ceb28e4261 ngircd.initd +c8fbedf0690f35ba565e6a1937afd4fb ngircd.pre-install" |