Skip to content
Snippets Groups Projects

testing/libguestfs: resurrect aport

Merged Jakub Jirutka requested to merge jirutka/aports:libguestfs into master
1 file
+ 15
3
Compare changes
  • Side-by-side
  • Inline
@@ -38,6 +38,8 @@ makedepends="
perl
python3-dev
readline-dev
ruby-dev
ruby-rake
xz-dev
zstd
"
@@ -47,6 +49,7 @@ subpackages="
$pkgname-doc
guestfs-tools
py3-$pkgname:_py
ruby-$pkgname:_ruby
"
source="https://download.libguestfs.org/${pkgver%.*}-stable/libguestfs-$pkgver.tar.gz
fix-missing-int64_t.patch
@@ -82,7 +85,7 @@ build() {
--disable-appliance \
--disable-ocaml \
--disable-perl \
--disable-ruby \
--enable-ruby \
--disable-haskell \
--disable-php \
--disable-erlang \
@@ -99,7 +102,9 @@ build() {
}
package() {
make V=1 DESTDIR="$pkgdir" install
# INSTALLDIRS ensures that Perl and Ruby libs are installed in the
# vendor dir not the site dir.
make V=1 DESTDIR="$pkgdir" INSTALLDIRS="vendor" install
}
tools() {
@@ -111,12 +116,19 @@ tools() {
}
_py() {
pkgdesc="Python 3 bindings for libguestfs"
pkgdesc="Python 3 bindings for $pkgname"
depends=""
amove usr/lib/python3*
}
_ruby() {
pkgdesc="Ruby bindings for $pkgname"
depends=""
amove usr/lib/ruby
}
sha512sums="
237ef512a767a3d56f9705818ead6ebedcaf107d576acf844353730913ee4fc5f2b085bf7d647b693bf4760e986416ba71f628d7709fd859acf3b2a595f3ed10 libguestfs-1.50.1.tar.gz
9ca7a2ac8572553394d42eda0e02f8b694651288ce58f1f4c7569eaab81cd3295b0992dcd6452a42b4b284cec54a666fd277eafcee05d54d05b1e84560ac7b06 fix-missing-int64_t.patch
Loading