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

prepare() {
	update_config_guess
	default_prepare
}

build() {
	cd "$builddir"
	./configure --prefix=/usr --without-pgsql --without-perl --without-php
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="16c7e016ce08d7679cc6ee7dec43a886a8c351960acdde99f8f9b590c7232d521bc6e66e4766d969d22c3f835dcc2814fdecc44eef1cd11e7b9b0f9c41b5c03e  ossp-uuid_1.6.2.orig.tar.gz"