blob: a72254e8a0ed0f36354249557e077e35455d1a13 (
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
|
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer:
pkgname=apache-couchdb
pkgver=1.5.0
pkgrel=1
pkgdesc="A database for the web"
url="http://couchdb.apache.org/"
arch="all"
license="Apache License 2.0"
depends="erlang"
depends_dev=
makedepends="$depends_dev curl-dev erlang-dev js-dev icu-dev openssl-dev"
install=
pkgusers="couchdb"
pkggroups="couchdb"
subpackages="$pkgname-dev $pkgname-doc"
source="http://apache.fastbull.org/couchdb/source/1.5.0/$pkgname-$pkgver.tar.gz
apache-couchdb.initd
apache-couchdb.confd
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
return 0
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/couchdb
install -m644 -D ../../$pkgname.confd "$pkgdir"/etc/conf.d/couchdb
chown couchdb:couchdb "$pkgdir"/var/log/couchdb
find "$pkgdir" -name *.la -delete
}
md5sums="55a2f86469e0697817da8defee730f04 apache-couchdb-1.5.0.tar.gz
1c20f57fcdf1e3cac3f1ffd814fcbe70 apache-couchdb.initd
86ae8d25d121e5ce6a15ee2d8c52aa47 apache-couchdb.confd"
sha256sums="abbdb2a6433124a4a4b902856f6a8a070d53bf7a55faa7aa8b6feb7127638fef apache-couchdb-1.5.0.tar.gz
b7d72e64aa36021527a0af1f094ebfd36b107bd4fd0ab3f5e599d3993b3cd484 apache-couchdb.initd
056042951c9314feab924d707bf347b2ef265f10e90bec847315d9c0156f700a apache-couchdb.confd"
sha512sums="557f712cf927b8713285e716a9dce624960316af0c481c98553c12b310fc228d30b585d25bf2c3e3debde5b25fc3d94dbbedaf79a7ae480e92a847abff73c2de apache-couchdb-1.5.0.tar.gz
83dac6ff44b1d6f02c2def4836602798171c96fb47795820dc6187323daeb015d897b5a8d4727fbc1f4b56dc7bf3d07732dead1512137b7a087fef85bb5a6ec9 apache-couchdb.initd
5c40927957362a7431be6980be3a239e4ee0ca47d28f1b4d4fb3014b307e459eb429f5b50e0c8aa58b3e9f2285371616a58f06207e272feae1bed33f8c32d836 apache-couchdb.confd"
|