diff options
Diffstat (limited to 'testing/ostree/APKBUILD')
-rw-r--r-- | testing/ostree/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/ostree/APKBUILD b/testing/ostree/APKBUILD new file mode 100644 index 0000000000..483afa1759 --- /dev/null +++ b/testing/ostree/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: André Klitzing <aklitzing@gmail.com> +# Maintainer: André Klitzing <aklitzing@gmail.com> +pkgname=ostree +pkgver=2017.3 +pkgrel=0 +pkgdesc="Operating system and container binary deployment and upgrades" +url="https://github.com/ostreedev/ostree" +arch="all" +license="GPL" +makedepends="bison glib-dev xz-dev libarchive-dev e2fsprogs-dev + libsoup-dev gpgme-dev fuse-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://github.com/ostreedev/ostree/releases/download/v$pkgver/libostree-$pkgver.tar.xz + musl-fixes.patch + " +options="!check" +builddir="$srcdir/lib$pkgname-$pkgver" + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib \ + --disable-static \ + --disable-glibtest \ + || return 1 + + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="eabb89b2c66395867feb516c07fdd71645570b9f145a535a6b3bb0d5612d300d4f22aede8332276023fb7439f14537a353722537c2e5a6a3c973bab72b8b87af libostree-2017.3.tar.xz +24cf6d3d4681f95c84a76b77eb99d08dc56275142e4bb475708b2c74e8ad9633c26bf1ba73995cbf30d88c4c754bbbd1cb65e8f454359e2f6b2e6e53b6b48739 musl-fixes.patch" |