diff options
author | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-09-03 12:01:56 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-09-03 12:01:56 -0500 |
commit | 2f81761b9e2979ba66b2546c441df8ac89705444 (patch) | |
tree | 704bda912f4cd79a1e931286365a28c6021ab81e /user/libsoup | |
parent | 84f5c390443a4dd107c408bef0813c68d7cccd8f (diff) | |
download | packages-2f81761b9e2979ba66b2546c441df8ac89705444.tar.gz packages-2f81761b9e2979ba66b2546c441df8ac89705444.tar.bz2 packages-2f81761b9e2979ba66b2546c441df8ac89705444.tar.xz packages-2f81761b9e2979ba66b2546c441df8ac89705444.zip |
user/libsoup: new package
Diffstat (limited to 'user/libsoup')
-rw-r--r-- | user/libsoup/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libsoup/APKBUILD b/user/libsoup/APKBUILD new file mode 100644 index 000000000..3abfaec66 --- /dev/null +++ b/user/libsoup/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libsoup +pkgver=2.64.0 +pkgrel=0 +pkgdesc="GObject-based HTTP library" +url="https://wiki.gnome.org/Projects/libsoup" +arch="all" +options="!check" # test suite requires poorly-configured apache-httpd +license="LGPL-2.0+ AND LGPL-2.1+" +makedepends="glib-dev libxml2-dev sqlite-dev libpsl-dev intltool vala-dev + gobject-introspection-dev glib-networking" +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.gnome.org/sources/libsoup/2.64/libsoup-$pkgver.tar.xz" +sha512sums="4ff3d16898bad5481d6abc4a7d2cdccc559e3d2a675128ccb61fba09a39c5c1736aeb7bda77dfd73f97a8660d11e25e88901fb6b957ab47b1e9e8a0fd6740424 libsoup-2.64.0.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + |