Files
ports/core/libblockdev/spkgbuild
2018-04-28 22:40:33 +08:00

27 lines
756 B
Plaintext
Executable File

# description : C library supporting GObject introspection for manipulation of block devices
# homepage : https://github.com/rhinstaller/libblockdev
# maintainer : emmett1, emmett1.2miligrams at gmail.com
# depends : libbytesize lvm2 volume_key nss cryptsetup parted
# makedepends : gobject-introspection python3
name=libblockdev
version=2.17
release=1
source=(https://github.com/storaged-project/libblockdev/releases/download/$version-1/$name-$version.tar.gz)
md5sum=(d01296478678e8bd7281ba250175c675)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-python3 \
--without-gtk-doc \
--without-nvdimm \
--without-dm
make
make DESTDIR=$PKG install
}