25 lines
623 B
Plaintext
25 lines
623 B
Plaintext
# Description: A library for manipulating block devices
|
|
# URL: https://github.com/storaged-project/libblockdev
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gobject-introspection libbytesize libyaml ndctl nvme-cli parted volume_key
|
|
|
|
name=libblockdev
|
|
version=3.1.0
|
|
release=1
|
|
source=(https://github.com/storaged-project/$name/releases/download/$version-1/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
export CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
|
|
aclocal
|
|
automake
|
|
|
|
./configure --prefix=/usr \
|
|
--with-dm=no
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -fr $PKG/usr/share/gtk-doc
|
|
}
|