void-packages/srcpkgs/avfs/template

34 lines
820 B
Bash

# Template file for 'avfs'
pkgname=avfs
version=1.0.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fuse-devel liblzma-devel"
depends="perl"
short_desc="Virtual filesystem that allows browsing compressed files"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-only, LGPL-2.0-only"
homepage="http://avf.sourceforge.net/"
distfiles="$SOURCEFORGE_SITE/avf/avfs-${version}.tar.bz2"
checksum=e5ce6b1f4193c37148b1b8a021f4f3d05e88f725cf11b16b95a58e8fdae50176
libavfs_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/avfs
}
}
avfs-devel_package() {
short_desc+=" - development files"
depends="avfs>=${version}_${revision}"
pkg_install() {
vmove usr/bin/avfs-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}