Files
ports/core/libblockdev/spkgbuild
2021-02-14 20:20:30 +08:00

23 lines
591 B
Plaintext
Executable File

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