blob: ec03c209d64e982ad78f8e98b4f3c85f7b72ee22 (
plain)
1 # Description: A library for manipulating block devices
2 # URL: https://github.com/storaged-project/libblockdev
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: gobject-introspection libbytesize libyaml ndctl parted volume_key
5
6 name=libblockdev
7 version=2.28
8 release=1
9 source=(https://github.com/storaged-project/$name/releases/download/$version-1/$name-$version.tar.gz foo.patch)
10
11 build() {
12 cd $name-$version
13
14 export CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
15 patch -Np1 -i $SRC/foo.patch
16 aclocal
17 automake
18
19 ./configure --prefix=/usr \
20 --with-dm=no
21 make
22 make DESTDIR=$PKG install
23
24 rm -fr $PKG/usr/share/gtk-doc
25 }
|