blob: 8cc9e96d6e6c8ae3509e1c4ee3af06fdde57235f (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bitchx
pkgver=1.2
pkgrel=1
pkgdesc="BitchX irc client"
url="http://bitchx.ca/"
arch="all"
license="GPL"
depends=""
depends_dev="tcl-dev openssl-dev ncurses-dev"
makedepends="$depends_dev coreutils"
install=""
subpackages="$pkgname-doc"
source="http://bitchx.ca/BitchX-$pkgver-final.tar.gz
bitchx-busybox-cpio.patch"
_builddir="$srcdir"/BitchX-1.2
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-ssl \
--with-ipv6 \
--with-plugins \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="5c4947f5a345574e28d93f78cb191ce4 BitchX-1.2-final.tar.gz
76561954440fc1c5545f4a0f20a8c60c bitchx-busybox-cpio.patch"
|