# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=spl pkgver=0.6.5.9 pkgrel=1 pkgdesc="Solaris Porting Layer (userland)" url="http://zfsonlinux.org" arch="all !armhf" license="GPL" depends="" depends_dev="" makedepends="$depends_dev linux-headers" install="" subpackages="$pkgname-doc" source="https://github.com/zfsonlinux/zfs/releases/download/zfs-$pkgver/spl-$pkgver.tar.gz" builddir="$srcdir"/spl-$pkgver prepare() { default_prepare || return 1 } build() { cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-config=user \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="356db95fcc93eb4ee298efc1ac25d38743572c539fc10b2d1533af861b4fd60804e61c3fb9f9bbad3d7a51cf123113b5b0bcbd49eba1bad7b1d8823d206022e8 spl-0.6.5.9.tar.gz"