diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 12:56:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 13:52:48 +0000 |
commit | e0b69ccf2d49db8cc4a56e02e2a106c24b244643 (patch) | |
tree | fb4f64df56849bc3f7804550de604efc9e5733dc /community | |
parent | b0fc147aacf8769b56a06c00acc227f998c7b93e (diff) | |
download | aports-e0b69ccf2d49db8cc4a56e02e2a106c24b244643.tar.bz2 aports-e0b69ccf2d49db8cc4a56e02e2a106c24b244643.tar.xz |
community/libosinfo: move from main
Diffstat (limited to 'community')
-rw-r--r-- | community/gtk-vnc/APKBUILD | 2 | ||||
-rw-r--r-- | community/libosinfo/APKBUILD | 53 |
2 files changed, 54 insertions, 1 deletions
diff --git a/community/gtk-vnc/APKBUILD b/community/gtk-vnc/APKBUILD index 8552f8b67b..e565425538 100644 --- a/community/gtk-vnc/APKBUILD +++ b/community/gtk-vnc/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk-vnc pkgver=0.5.4 -pkgrel=1 +pkgrel=2 pkgdesc="A VNC viewer widget for GTK" url="http://live.gnome.org/gtk-vnc" arch="all" diff --git a/community/libosinfo/APKBUILD b/community/libosinfo/APKBUILD new file mode 100644 index 0000000000..9e186100ec --- /dev/null +++ b/community/libosinfo/APKBUILD @@ -0,0 +1,53 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libosinfo +pkgver=0.2.12 +pkgrel=0 +pkgdesc="A library for managing OS information for virtualization" +url="http://libosinfo.org/" +arch="all" +license="LGPLv2+" +depends="hwdata" +depends_dev="glib-dev" +makedepends="$depends_dev libsoup-dev libxml2-dev libxslt-dev vala intltool + gobject-introspection-dev check-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-$pkgver.tar.gz" + +_builddir="$srcdir"/libosinfo-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-introspection=yes \ + --enable-vala=yes \ + --with-usb-ids-path=/usr/share/hwdata/usb.ids \ + --with-pci-ids-path=/usr/share/hwdata/pci.ids \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="7a7eb71ea82baec76c841df3401a2b8a libosinfo-0.2.12.tar.gz" +sha256sums="fa00ea8ddbca06c0dcc31e8938ac55cb71e71c6e2449687cd2c9e003a9478fed libosinfo-0.2.12.tar.gz" +sha512sums="ec09a65a9cfb5e3f2ffe2a7d85b9f51938f1633469338826ab3380f22788d40732b39e0f96005eb6b800d04ac76da09a89918085f840439b5bdde759692c6b9d libosinfo-0.2.12.tar.gz" |