summaryrefslogtreecommitdiff
path: root/main/avfs/APKBUILD
blob: 255b7b2b09e0393313dc04a595c51afef7a6e1bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avfs
pkgver=1.0.5
pkgrel=0
pkgdesc="A Virtual File System for looking into archives"
url="http://avf.sourceforge.net/"
arch="all"
license="GPL2+"
depends="bash"
makedepends="zlib-dev bzip2-dev fuse-dev"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--enable-fuse \
		--enable-library \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d50d8fc31a56a0dac17a14c19de3f1bae2519feb965768810d19192eba6dbe24ab181c4574ff8982883d9b76f77241a1e27f3ef12d05ab8112f3caf14e59bd3c  avfs-1.0.5.tar.bz2"