blob: 6b40111e1f9dc21f02adb0dbeb9f7a6b629795fa (
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
|
# Contributor:
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=uriparser
pkgver=0.8.4
pkgrel=0
pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library"
url="http://uriparser.sourceforge.net/"
arch="all"
license="BSD"
depends=
depends_dev=
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver}.tar.bz2"
_builddir="${srcdir}"/"$pkgname-${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 \
--prefix=/usr \
--disable-test \
--disable-doc \
--disable-static || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="9aabdc3611546f553f4af372167de6d6 uriparser-0.8.4.tar.bz2"
sha256sums="ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23 uriparser-0.8.4.tar.bz2"
sha512sums="b6238c6495eaa9f7178269d66dbea05a39c51c27137d8ebf39cd02d1c3fa96aa0d1608f5ccb36bf7b454f3238830dd46d7de8299b608f185b2520fc2c955aa1a uriparser-0.8.4.tar.bz2"
|