summaryrefslogtreecommitdiff
path: root/zfs/Pkgfile
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2015-03-29 13:32:40 +1000
committerJames Mills <prologic@shortcircuit.net.au>2015-03-29 13:32:40 +1000
commit814ed1ab9a2e90b9827101a6b01badafab911f09 (patch)
tree1ab6c8fe796a2c7a0c2509267e8d4ac8938b85eb /zfs/Pkgfile
parentc762736542bc7ce00a578bc15e5241abdf8df5f9 (diff)
downloadcontrib-814ed1ab9a2e90b9827101a6b01badafab911f09.tar.gz
contrib-814ed1ab9a2e90b9827101a6b01badafab911f09.tar.xz
zfs (NEW): Combined filesystem and logical volume manager from Sun Microsystems/Oracle
Diffstat (limited to 'zfs/Pkgfile')
-rw-r--r--zfs/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/zfs/Pkgfile b/zfs/Pkgfile
new file mode 100644
index 000000000..7cef24e71
--- /dev/null
+++ b/zfs/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Combined filesystem and logical volume manager from Sun Microsystems/Oracle
+# URL: http://zfsonlinux.org/
+# Maintainer: James Mills, prologic at shortcircuit dot net dot au
+
+# Depends on: spl
+
+name=zfs
+version=0.6.3
+release=1
+source=(http://archive.zfsonlinux.org/downloads/zfsonlinux/$name/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ # Configure
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/$name \
+ --mandir=/usr/man \
+ --with-spl=/usr/include/spl
+
+ # ugly hacks ahoy!
+ find . -name "Makefile" -exec sed -i -e 's,/usr/src/zfs-$(VERSION),/usr/include/zfs,g' '{}' \;
+
+ # Build
+ make
+
+ # Package
+ make DESTDIR=$PKG install
+}

Generated by cgit