aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossp-uuid/APKBUILD
blob: b67d895cdd49bfc5d4ed4a329baa720e452fa052 (plain) (blame)
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
# Contributor: "Andrzej Trzaska <atrzaska2@gmail.com>"
# Maintainer: "Andrzej Trzaska <atrzaska2@gmail.com>"
pkgname=ossp-uuid
pkgver=1.6.2
pkgrel=1
pkgdesc="Open Source Software Project Universally Unique Identifier (UUID)"
url="http://www.ossp.org/pkg/lib/uuid/"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
source="https://mirrors.ocf.berkeley.edu/debian/pool/main/o/ossp-uuid/ossp-uuid_$pkgver.orig.tar.gz
	uuid.patch
	"
builddir="$srcdir/uuid-$pkgver"

prepare() {
	update_config_guess
	default_prepare
}

build() {
	./configure --prefix=/usr --without-pgsql --without-perl --without-php --disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="16c7e016ce08d7679cc6ee7dec43a886a8c351960acdde99f8f9b590c7232d521bc6e66e4766d969d22c3f835dcc2814fdecc44eef1cd11e7b9b0f9c41b5c03e  ossp-uuid_1.6.2.orig.tar.gz
5247357f73ba667e4530af80f38bac17dd3395d8152ba1bf239abb1ab53f334d405a8673a3f99ac82c73737c19eccea71886b2ebc61ac37bc64e9ed69ab1bc0a  uuid.patch"