New package: luksmeta-9

This commit is contained in:
Johannes Heimansberg 2024-08-14 07:55:38 +02:00 committed by classabbyamp
parent dfb4a2d218
commit 46eeb29997
4 changed files with 38 additions and 1 deletions

View File

@ -4529,4 +4529,4 @@ libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
libjose.so.0 libjose-14_1
libluksmeta.so.0 luksmeta-9_1
libluksmeta.so.0 libluksmeta-9_1

1
srcpkgs/libluksmeta Symbolic link
View File

@ -0,0 +1 @@
luksmeta

1
srcpkgs/luksmeta-devel Symbolic link
View File

@ -0,0 +1 @@
luksmeta

35
srcpkgs/luksmeta/template Normal file
View File

@ -0,0 +1,35 @@
# 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"
}
}