aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2011-08-23 13:40:55 +0000
committerMika Havela <mika.havela@gmail.com>2011-08-23 13:41:25 +0000
commit3d4f0d1d6bcdaa66fb6d93f8f95cdb5ed6430059 (patch)
tree4bf33bd0db4a297981f0cdc148dadf504d51488c /testing
parente023735e2c8851f90d230de911a3d26e0d85c385 (diff)
downloadaports-3d4f0d1d6bcdaa66fb6d93f8f95cdb5ed6430059.tar.bz2
aports-3d4f0d1d6bcdaa66fb6d93f8f95cdb5ed6430059.tar.xz
testing/sc101-nbd: New aport
Diffstat (limited to 'testing')
-rw-r--r--testing/sc101-nbd/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/sc101-nbd/APKBUILD b/testing/sc101-nbd/APKBUILD
new file mode 100644
index 0000000000..30a633f5fb
--- /dev/null
+++ b/testing/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="all"
+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"