diff options
author | TBK <tbk@jjtc.eu> | 2019-05-04 06:45:08 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-05 05:33:23 +0000 |
commit | 712738b7aac404b8065bf280b4ccc97c39c5acc3 (patch) | |
tree | f2e0ae5caa705af5870498718694a4d5481e71d8 /testing/fusee-nano | |
parent | 593eb773fb1d090826b28e83dbac59574829cfb8 (diff) | |
download | aports-712738b7aac404b8065bf280b4ccc97c39c5acc3.tar.bz2 aports-712738b7aac404b8065bf280b4ccc97c39c5acc3.tar.xz |
testing/fusee-nano: new aport
Diffstat (limited to 'testing/fusee-nano')
-rw-r--r-- | testing/fusee-nano/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/fusee-nano/APKBUILD b/testing/fusee-nano/APKBUILD new file mode 100644 index 0000000000..5114ad8e3e --- /dev/null +++ b/testing/fusee-nano/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: TBK <alpine@jjtc.eu> +# Maintainer: TBK <alpine@jjtc.eu> +pkgname=fusee-nano +pkgver=0.4 +pkgrel=0 +pkgdesc="A minimalist re-implementation of the Fusée Gelée exploit, designed to run on embedded Linux devices." +url="https://github.com/DavidBuchanan314/fusee-nano" +arch="all" +license="MIT" +options="!check" # No test suite +makedepends="linux-headers" +subpackages="$pkgname-udev::noarch" +source="$pkgname-$pkgver.tar.gz::https://github.com/DavidBuchanan314/fusee-nano/archive/$pkgver.tar.gz" + +build() { + make +} + +package() { + mkdir -p "$pkgdir"/usr/share/$pkgname/ + cp -r files/* "$pkgdir"/usr/share/$pkgname/ + install -Dm 755 fusee-nano "$pkgdir"/usr/bin/fusee-nano + + # Remove openwrt file + rm "$pkgdir"/usr/share/$pkgname/20-tegra_rcm +} + +udev() { + pkgdesc="udev rule for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel eudev" + mkdir -p "$subpkgdir"/lib/udev/rules.d/ + mv "$pkgdir"/usr/share/$pkgname/*.rules \ + "$subpkgdir"/lib/udev/rules.d/ +} + +sha512sums="18fe586a111a9bc8dd9c6ff57002ac731843c83151bfe2d63dd8890305862a7a93a9737256405dbc1c76f5a3fab94475fa786135c55d712e26600d04e0c26450 fusee-nano-0.4.tar.gz" |