Files
ports/main/libblockdev/spkgbuild
2023-10-13 09:43:57 +00:00

26 lines
711 B
Plaintext
Executable File

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