blob: 0096b33c11b0f5f98d075171ff350c0ad149a441 (
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
57
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bitchx
pkgver=1.2
pkgrel=2
pkgdesc="An IRC client"
url="http://bitchx.com/"
arch="all"
license="BSD"
depends=""
depends_dev="tcl-dev openssl-dev ncurses-dev"
makedepends="$depends_dev coreutils"
install=""
subpackages="$pkgname-doc"
source="http://dev.alpinelinux.org/archive/bitchx/BitchX-$pkgver-final.tar.gz
bitchx-busybox-cpio.patch"
_builddir="$srcdir"/BitchX-$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 \
--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"
sha256sums="7058d4be640c881fe91cbda6701b271c47846e0d3d7a13b52a3a36948094ec36 BitchX-1.2-final.tar.gz
fde4078c35e36d4292655361f06d2682c471d2249b09f9535b8a57dc6ed7f71c bitchx-busybox-cpio.patch"
sha512sums="b9597da0e029bb79be5fa164850bafe5efadb813be8d4cabbf0921e4544db39f1b7d41faa1042d9576268f964f3e70c2b76befd28a9c8cbad67415fa228fba2f BitchX-1.2-final.tar.gz
542d3b23d396d8a98f1a69fd639f8adc0d10a35ee1f91810cc4dd986dd01545ba8df4a8fa2f1a3a04b0dab2b296efdeb2f4cf8dab24d8209e0a44f8c83492b99 bitchx-busybox-cpio.patch"
|