mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 20:11:34 +01:00
40 lines
937 B
Plaintext
40 lines
937 B
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=rest
|
|
pkgver=0.8.1
|
|
pkgrel=0
|
|
pkgdesc="A library for access to RESTful web services"
|
|
url="http://www.gnome.org"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
depends_dev="libsoup-dev gobject-introspection-dev"
|
|
makedepends="$depends_dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://download.gnome.org/sources/rest/${pkgver%.*}/rest-$pkgver.tar.xz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-introspection \
|
|
--without-gnome
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
|
|
}
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="824a341db3827e4360abe03e33735918c68913c70d797699ef74271080a1985872006ec70fd994dc8fa3fbfef417e6fe979883c11286512d0ce623b8368e40c3 rest-0.8.1.tar.xz"
|