aboutsummaryrefslogtreecommitdiffstats
path: root/main/avfs/APKBUILD
blob: 84bc5cad0f7ebc6dfab243f6d7ec3db542c89fdf (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
34
35
36
37
38
39
40
41
42
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avfs
pkgver=1.0.3
pkgrel=0
pkgdesc="A Virtual File System for looking into archives"
url="http://avf.sourceforge.net/"
arch="all"
license="GPL2+"
depends="bash"
depends_dev=""
makedepends="zlib-dev bzip2-dev fuse-dev"
install=""
subpackages="$pkgname-dev"
source="http://space.dl.sourceforge.net/project/avf/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
source="http://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="25f0bfe76640917239563e11e3c0a9ac  avfs-1.0.3.tar.bz2"
sha256sums="c6dee77b2b71567528f897727e51695587189765fc35f694e4734db0a7d4fec8  avfs-1.0.3.tar.bz2"
sha512sums="b20a8bcba0d1d0181a14d5f1204f0532817037e3b5d32931f00f988793cb6cdabec82298686d82aa34885209d22841754e990c9c35b6384e0b441f99fd3d1efd  avfs-1.0.3.tar.bz2"