36 lines
972 B
Bash
36 lines
972 B
Bash
# Template file for 'avfs'
|
|
pkgname=avfs
|
|
version=1.1.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-system-zlib --with-system-bzlib"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fuse-devel liblzma-devel libzstd-devel zlib-devel bzip2-devel lzlib-devel"
|
|
depends="perl"
|
|
short_desc="Virtual filesystem that allows browsing compressed files"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-only, LGPL-2.0-only"
|
|
homepage="https://avf.sourceforge.net/"
|
|
distfiles="$SOURCEFORGE_SITE/avf/avfs-${version}.tar.bz2"
|
|
checksum=ad9f3b64104d6009a058c70f67088f799309bf8519b14b154afad226a45272cf
|
|
|
|
libavfs_package() {
|
|
short_desc+=" - library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove usr/lib/avfs
|
|
}
|
|
}
|
|
|
|
avfs-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} libavfs>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/avfs-config
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|