aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sc101-nbd/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-28 13:35:23 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-28 13:35:31 +0000
commit154d2525b1c64bc5176c56eee1b3d17154a9a5b3 (patch)
treea25a29527ca95ae8404be211d08b187338072a1f /unmaintained/sc101-nbd/APKBUILD
parentd2bd54fb5745b302b53d8154e3693fe7b17a3227 (diff)
downloadaports-154d2525b1c64bc5176c56eee1b3d17154a9a5b3.tar.bz2
aports-154d2525b1c64bc5176c56eee1b3d17154a9a5b3.tar.xz
testing/sc101-nbd: unmaintained
Diffstat (limited to 'unmaintained/sc101-nbd/APKBUILD')
-rw-r--r--unmaintained/sc101-nbd/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/sc101-nbd/APKBUILD b/unmaintained/sc101-nbd/APKBUILD
new file mode 100644
index 0000000000..7b9c0c706f
--- /dev/null
+++ b/unmaintained/sc101-nbd/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+pkgname=sc101-nbd
+pkgver=0.03
+pkgrel=0
+pkgdesc="Software to access the the Netgear Storage Central 101 (sc101) as a block device, without requiring a new kernel module."
+url="http://code.google.com/p/sc101-nbd/"
+arch="x86"
+license="GNU GPL v2"
+depends=""
+depends_dev="gzip"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://sc101-nbd.googlecode.com/files/sc101-nbd_${pkgver}.tar.gz"
+
+_builddir="$srcdir"/"$pkgname"-"$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="92cc1a4f11c971fede8e0a1e69e1ce2d sc101-nbd_0.03.tar.gz"