blob: 7e5b0e4209be900ea79f5d1c104b546aa89e217e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Contributor: Leonardo Arena <larena@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ngircd
pkgver=20.3
pkgrel=0
pkgdesc="Next Generation IRC Daemon"
url="http://ngircd.barton.de/"
arch="all"
license="GPL2+"
depends=""
makedepends="openssl-dev zlib-dev linux-pam-dev"
install="$pkgname.pre-install"
source="ftp://ftp.berlios.de/pub/$pkgname/$pkgname-$pkgver.tar.gz
username.patch
$pkgname.initd
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/ngircd \
--mandir=/usr/share/man \
--without-ident \
--with-openssl \
--with-pam \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="224681726cf88120785fd05e0c314928 ngircd-20.3.tar.gz
67645fbee1432b8bf21e57325d7cb50a username.patch
628548a938f27fedcb6797c427bf0035 ngircd.initd"
sha256sums="55d7c74c6df790b11a68c07f39836d581965087efb618d3e9a6bec855364c2f9 ngircd-20.3.tar.gz
2ffb140b61912e8993fc839431458a0379f6697c393f26fecd20f92b1101ccaf username.patch
67d7427762ce9f97abe494448032912cdc45291df070afc80562b34c94b7915c ngircd.initd"
sha512sums="8bc36a66e893873fade6dcadb07bf561fb25156714ba30168cf2e399e50f4dd80592fd7fcdb6c8d1083fa7c5e839b0da3a27ed4ce2041a2c5ab2b9581def948c ngircd-20.3.tar.gz
a2b413c3e921b50714d2299ce63307ff7cd39aba997310c92a919ee9c8bcfbf933fac12b49010a044ec2ce6594ba3a3627dbdda9a2d922351db71bd91a0c2796 username.patch
f74c9064aaef9957dcd6acd45bf107a6f74ffe618b96373308ba151dcbffb62ec9062ed956e5d57c7b46bca1dd22a7486f182640cc5ab607f3f8b39600d6506f ngircd.initd"
|