diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-18 18:13:19 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-18 18:13:41 +0100 |
commit | ad78b87aa4548165378bd3a7a2f023662005ee2f (patch) | |
tree | 889ca0bd1c9a6ad19464677613572048ed391f7f | |
parent | 0d2b7ddb0b20ed390fefcb13b454b84ae0e6f116 (diff) | |
download | aports-ad78b87aa4548165378bd3a7a2f023662005ee2f.tar.bz2 aports-ad78b87aa4548165378bd3a7a2f023662005ee2f.tar.xz |
testing/zram-init: new aport
-rw-r--r-- | testing/zram-init/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/zram-init/APKBUILD b/testing/zram-init/APKBUILD new file mode 100644 index 0000000000..2c448d09db --- /dev/null +++ b/testing/zram-init/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> + +pkgname=zram-init +pkgver=2.7 +pkgrel=0 +pkgdesc='rapper script for the zram kernel module' +arch=noarch +url='http://github.com/vaeth/zram-init' +license='GPL2' +source="$url/archive/2.7.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" + +build() { + true +} + +package() { + cd "$_builddir" + install -Dm644 modprobe.d/zram.conf "$pkgdir"/etc/modprobe.d/zram.conf + install -Dm755 sbin/zram-init "$pkgdir"/usr/sbin/zram-init + install -Dm644 openrc/conf.d/zram-init "$pkgdir"/etc/conf.d/zram-init + install -Dm755 openrc/init.d/zram-init "$pkgdir"/etc/init.d/zram-init +} + +md5sums="6e12160b0597181c88150961fd37c53b 2.7.tar.gz" +sha256sums="205765243bd36bf62c471363c4fddf8173275d37f5f919716b5b71afea0fe94d 2.7.tar.gz" +sha512sums="db8dc5580b8405752d58996e5927573b687795b598c94948ccc51d038f7c7dfc47b64651d9554c1807d8f6453498c3f1efe6f2d34b82eb6b1df2d8f7e84980a5 2.7.tar.gz" |