diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:11:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | 80acbaee801184140fac0c967cbb8aa051db2b06 (patch) | |
tree | 77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-network_interface | |
parent | 5db5ee5c13e577e862e822501b2e4863fbd63195 (diff) | |
download | aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2 aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz |
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-network_interface')
-rw-r--r-- | unmaintained/ruby-network_interface/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-network_interface/APKBUILD b/unmaintained/ruby-network_interface/APKBUILD new file mode 100644 index 0000000000..ed29c9f7fe --- /dev/null +++ b/unmaintained/ruby-network_interface/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +_gemname=network_interface +pkgname=ruby-network_interface +pkgver=0.0.1 +pkgrel=0 +pkgdesc="Library to get network interface information" +url="https://github.com/rapid7/network_interface" +arch="all" +license="MIT" +depends="ruby" +depends_dev="" +makedepends="$depends_dev ruby-dev" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/rapid7/network_interface/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$_gemname-$pkgver +build() { + mkdir -p "$_builddir" || return 1 + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ + --ignore-dependencies \ + --verbose \ + --no-rdoc \ + --no-ri \ + || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +package() { + mkdir -p "$pkgdir" || return 1 + cp -ra "$_builddir"/* "$pkgdir"/ || return 1 +} +md5sums="b47a881487d00b17e069428211964089 ruby-network_interface-0.0.1.tar.gz" +sha256sums="fde6087592fee72602cc570361429fb416cac4b8c762860373ae5d060e584f8e ruby-network_interface-0.0.1.tar.gz" +sha512sums="d6ef7b82b2e3b4834b1eede2734bbef80c5a635ac62db33b3b3ba5660910c4cbc38c270e3b4e5be039217ba20e7064da172869cf7553a62db9526bcb43bf1013 ruby-network_interface-0.0.1.tar.gz" |