mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
# Maintainer: Jesus Alvarez <jeezusjr at gmail dot com>
|
|
# Contributor: Kyle Fuller <inbox at kylefuller dot co dot uk>
|
|
|
|
pkgname=('zfs')
|
|
pkgver=0.6.1_3.8.8
|
|
pkgrel=1
|
|
pkgdesc="Kernel modules for the Zettabyte File System."
|
|
depends=('spl=0.6.1_3.8.8' 'zfs-utils=0.6.1_3.8.8' 'linux=3.8.8')
|
|
makedepends=('linux-headers=3.8.8')
|
|
arch=('i686' 'x86_64')
|
|
url='http://zfsonlinux.org/'
|
|
source=(http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.1.tar.gz)
|
|
groups=('archzfs')
|
|
md5sums=('822cd73c139d89369d6c3944f8afe659')
|
|
license=('CDDL')
|
|
install=zfs.install
|
|
|
|
build() {
|
|
cd ${srcdir}/zfs-0.6.1
|
|
./autogen.sh
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--sbindir=/usr/sbin \
|
|
--libdir=/usr/lib \
|
|
--datadir=/usr/share \
|
|
--includedir=/usr/include \
|
|
--with-udevdir=/lib/udev \
|
|
--libexecdir=/usr/lib/zfs-0.6.1 \
|
|
--with-config=kernel
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/zfs-0.6.1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
# move module tree /lib -> /usr/lib
|
|
cp -r ${pkgdir}/{lib,usr}
|
|
rm -r ${pkgdir}/lib
|
|
}
|
|
|