mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
48c028f5a5
According to the FHS. Testing scripts and examples which are all architecture independent should be installed in a subdirectory under /usr/share. http://www.pathname.com/fhs/2.2/fhs-4.11.html Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
27 lines
744 B
Plaintext
27 lines
744 B
Plaintext
# Maintainer: Prakash Surya <surya1@llnl.gov>
|
|
pkgname=@ZFS_META_NAME@
|
|
pkgver=@ZFS_META_VERSION@
|
|
pkgrel=@ZFS_META_RELEASE@
|
|
pkgdesc="Contains the libzfs library and support utilities for the zfs file system."
|
|
arch=(x86_64)
|
|
url="git://github.com/zfsonlinux/zfs.git"
|
|
license=(@ZFS_META_LICENSE@)
|
|
depends=('spl' 'zlib' 'e2fsprogs')
|
|
source=(@ZFS_META_NAME@-@ZFS_META_VERSION@.tar.gz)
|
|
|
|
build() {
|
|
cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
|
|
./configure --with-config=user \
|
|
--prefix=/ \
|
|
--sysconfdir=/etc \
|
|
--datadir=/usr/share \
|
|
--includedir=/usr/include \
|
|
--with-udevdir=/lib/udev
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
|
|
make DESTDIR=$pkgdir install
|
|
}
|