mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
community/ruby-ffi: enable tests, fix license
This commit is contained in:
parent
7d88323e8b
commit
bdcff9d4e8
@ -3,21 +3,18 @@
|
||||
pkgname=ruby-ffi
|
||||
_gemname=ffi
|
||||
pkgver=1.10.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Ruby FFI library"
|
||||
url="https://github.com/ffi/ffi"
|
||||
arch="all"
|
||||
license="BSD"
|
||||
license="BSD-3-Clause"
|
||||
makedepends="libffi-dev ruby ruby-dev"
|
||||
install="$pkgname.post-install"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ffi/$_gemname/archive/$pkgver.tar.gz
|
||||
gemspec.patch"
|
||||
builddir="$srcdir/$_gemname-$pkgver"
|
||||
options="!check" # does not work with PaX (it'd need paxmark -m /usr/bin/ruby)
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
|
||||
gem build $_gemname.gemspec
|
||||
gem install --local \
|
||||
--install-dir dist \
|
||||
@ -28,8 +25,6 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
|
||||
# Install missing development dependencies needed and used only for running
|
||||
# tests. We can't install them easily with bundler, because there's
|
||||
# no way how to force it to NOT update already satisifed dependencies.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user