mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-05 08:28:03 +00:00
26 lines
711 B
Plaintext
Executable File
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
|
|
}
|
|
|