aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-11 23:08:08 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-11 23:08:08 +0000
commitbaf226d659c86d0f48033208a97465bf28b478e0 (patch)
treeb96c5e63ccee48607af7e81fb0cd91c624fc22dd /testing/lxd
parent08b80c13316151af057ed8662fe0c2380fd713e1 (diff)
downloadaports-baf226d659c86d0f48033208a97465bf28b478e0.tar.bz2
aports-baf226d659c86d0f48033208a97465bf28b478e0.tar.xz
testing/lxd: do not add bundled libs to provides
Diffstat (limited to 'testing/lxd')
-rw-r--r--testing/lxd/APKBUILD59
1 files changed, 52 insertions, 7 deletions
diff --git a/testing/lxd/APKBUILD b/testing/lxd/APKBUILD
index b6790bc43a..5820fe9ebe 100644
--- a/testing/lxd/APKBUILD
+++ b/testing/lxd/APKBUILD
@@ -2,22 +2,56 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=lxd
pkgver=3.9
-pkgrel=0
+pkgrel=1
pkgdesc="a container hypervisor and a new user experience for LXC"
url="https://linuxcontainers.org/lxd/"
arch="all"
license="Apache-2.0"
-depends="acl xz netcat-openbsd cgmanager squashfs-tools rsync shadow-uidmap lxc ip6tables
-dnsmasq ca-certificates"
-makedepends="lxc-dev protobuf-dev rsync go gettext-dev linux-headers acl-dev
- tcl-dev libtool autoconf automake libuv-dev intltool libcap-dev"
-subpackages="$pkgname-scripts:scripts $pkgname-bash-completion:bashcomp:noarch $pkgname-openrc"
+depends="
+ acl
+ xz
+ netcat-openbsd
+ cgmanager
+ squashfs-tools
+ rsync
+ shadow-uidmap
+ lxc
+ ip6tables
+ dnsmasq
+ ca-certificates
+ "
+makedepends="
+ lxc-dev
+ protobuf-dev
+ gettext-dev
+ acl-dev
+ libuv-dev
+ tcl-dev
+ libuv-dev
+ libcap-dev
+ linux-headers
+
+ rsync
+ go
+ intltool
+
+ libtool
+ autoconf
+ automake
+ "
+subpackages="
+ $pkgname-scripts:scripts
+ $pkgname-bash-completion:bashcomp:noarch
+ $pkgname-openrc
+ $pkgname-libs
+ "
install="$pkgname.pre-install"
options="!check"
source="https://linuxcontainers.org/downloads/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.confd
$pkgname.initd
- lxd-dont-go-get.patch"
+ lxd-dont-go-get.patch
+ "
_project="github.com/lxc/lxd"
@@ -107,6 +141,17 @@ scripts() {
done
}
+libs() {
+ pkgdesc="LXD bundled libraries"
+ # do not add sqlite to provides
+ options="!tracedeps"
+ depends=
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
+ rm -rf "$subpkgdir"/usr/lib/lxd/pkgconfig \
+ "$subpkgdir"/usr/lib/lxd/*.a
+}
+
sha512sums="8d61912adeb33d06e4065aab7eaf80ab7b6e9cbc2b20dcca1cc5c74b999838aec32e805af3a6ae1262948514a619f4332ec44912ca720fa1b0e8b962165c117a lxd-3.9.tar.gz
bc32c71f2ce10f508433e1e4651c08c18e8a17e9419a7ce391c0f127fc7cf378c665178926b35eae8813e290d9c5eab3ceb605679fd32efdf2cf98a57cee4127 lxd.confd
94de0c0d5ab63463a929a4151359950b1117d0ada5ccf0944311cc70c6b6d4c437ccb4158734ab35db67bfb4abc437074c3f3515be4531f63adc74da21fefb5b lxd.initd