38 lines
783 B
Bash
38 lines
783 B
Bash
#!/usr/bin/env bash
|
|
name='libblockdev'
|
|
release='1'
|
|
version='2.28-1'
|
|
url='https://github.com/storaged-project/libblockdev'
|
|
description='A library for manipulating block devices'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://github.com/storaged-project/libblockdev/archive/refs/tags/2.28-1.tar.gz")
|
|
depends=(gawk parted kmod libyaml btrfs-progs dosfstools gptfdisk libbytesize ndctl xfsprogs lvm2 volume_key)
|
|
#depends=(dmraid mdadm )
|
|
|
|
makedepends=()
|
|
md5sums=('7f7fe3135505b6917e8ad9281084dd6c')
|
|
group=(sys.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
setup(){
|
|
autoreconf -fvi
|
|
#./configure
|
|
./configure --prefix=/usr --sysconfdir=/etc --without-lvm_dbus \
|
|
--disable-dmraid
|
|
|
|
|
|
}
|
|
|
|
build(){
|
|
make $jobs
|
|
}
|
|
|
|
package(){
|
|
make install $jobs
|
|
}
|
|
|