blob: 7b9c0c706f3ae024e8239d961bfd563072900c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"
|