36 lines
938 B
Bash
36 lines
938 B
Bash
|
# Template file for 'luksmeta'
|
||
|
pkgname=luksmeta
|
||
|
version=9
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
|
||
|
makedepends="cryptsetup-devel"
|
||
|
short_desc="Store metadata in the LUKSv1 header"
|
||
|
maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
|
||
|
license="LGPL-2.0-or-later"
|
||
|
homepage="https://github.com/latchset/luksmeta"
|
||
|
distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
|
||
|
checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
|
||
|
make_check="no" # fails on some architectures
|
||
|
|
||
|
pre_configure() {
|
||
|
autoreconf -fi
|
||
|
}
|
||
|
|
||
|
libluksmeta_package() {
|
||
|
short_desc+=" - library"
|
||
|
pkg_install() {
|
||
|
vmove "usr/lib/*.so.*"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
luksmeta-devel_package() {
|
||
|
depends="lib${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|