blob: 05042040d643c629d99a869cf75c8cfb0df91ae0 (
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
58
59
60
61
62
63
64
65
66
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dircproxy
pkgver=1.2.0_rc
_status=${pkgver/_rc/-BETA}
_ver=${_status//./_}
pkgrel=1
pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients"
url="https://github.com/w8tvi/dircproxy"
arch="all"
license="GPL"
depends=""
makedepends="autoconf automake"
install=
subpackages="$pkgname-doc"
source="$pkgname-$_ver.tar.gz::https://github.com/w8tvi/dircproxy/archive/RELEASE-$_ver.tar.gz
fix-gcc4-issue.patch
fix-segfault.patch
fix-issue54-1.patch
fix-issue54-2.patch
"
_builddir="$srcdir/$pkgname-RELEASE-$_ver"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
./autogen.sh
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="fbff23c43845e5a6c0bdc8d439186af3 dircproxy-1_2_0-BETA.tar.gz
c407e3111510dc86347826d922d3d292 fix-gcc4-issue.patch
65adeaa67ccbbea5f98a6f8b2b0b32f0 fix-segfault.patch
2867659a46fb059cae0f261d058a8c23 fix-issue54-1.patch
30287d85baab9c1d98d970ee95640e24 fix-issue54-2.patch"
sha256sums="84ce1e2496868f55de3cabc2668e68689c2ff56468fff46546418a8795a60403 dircproxy-1_2_0-BETA.tar.gz
0a1273040bd203aaf7f40b86c4e8e893f06356aa8899b89c97c05769e60dddee fix-gcc4-issue.patch
ca21b76c8356d821c82324aaaeff9e64e8ca6ba202f9755b1b2656de0af6d74f fix-segfault.patch
fe6fac70a09de7afd8778d03b8357425a10a111daa154a2ddb99fd6a6f8f6a3b fix-issue54-1.patch
9491af798003dfd1f8c0e1e2bb97366880e046418d19eee3bf6e17bcc057224f fix-issue54-2.patch"
sha512sums="9a720823cba52b1e3670a2ef76578f952e07275d7455f7609eff7d88bcb89f8c3098e9d517266efd19f84b3adf3163a3359b4113e253bd5c5bdbb36597a333c8 dircproxy-1_2_0-BETA.tar.gz
182c1907317e669bb9f2f410c683a8ce4682ad29b3caa07548b7e126f66b85f3e1f8ad258d5a90b017f21b5e03be1aa2480c5919be25ae40b4debb6b8740e93e fix-gcc4-issue.patch
906556a5a64670bb25394a424be281f90018c255b0dccb21f0805724899977d4041482c584f1aeb022d6acf56d5c0ab65065123bb045a2e7eb56674026be7fb4 fix-segfault.patch
66624cc8be5c891ccd3591397608ccdbe5b8496928ab77220214ef02a10433fe7d6b67a4abbfb36b60dd8a198581814ec2485b88778c2f1c14089d0b0246c66e fix-issue54-1.patch
517b67297d51d4327aabb0054eb5bac1a15bf26a45091517d27998e861555e5320573f315ea4d2a719387d9a30482ebf3e58d731048f78a63ecba8b4c2664fe2 fix-issue54-2.patch"
|