aboutsummaryrefslogtreecommitdiffstats
path: root/main/avfs/APKBUILD
blob: 828f3e751edc83d9d191639f850c3b2ba41726ad (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
43
44
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avfs
pkgver=1.0.2
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
	rm "$pkgdir"/usr/lib/*.la
	rm "$pkgdir"/usr/lib/*.a
}

md5sums="ad39f7244c97755a72b8a4d76b30c422  avfs-1.0.2.tar.bz2"
sha256sums="52693953e8290281d441a898040c5ac2989f11bc1fcb83ca5063c37a125a1c9a  avfs-1.0.2.tar.bz2"
sha512sums="a248c025388d169e2c6a57f04487c0aefb2c574647aade49c3a27d62621c0ead25b321b87518cdd718cb238387a766ec9e7fef434f30dcc4dd2bf9fbcc3de020  avfs-1.0.2.tar.bz2"