summaryrefslogtreecommitdiffstats
path: root/main/avfs/APKBUILD
blob: 935603e36b1ca509dafac19d564a9719c410d0ff (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
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avfs
pkgver=1.0.1
pkgrel=0
pkgdesc="A Virtual File System for looking into archives"
url="http://avf.sourceforge.net/"
arch="all"
license="GPL"
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"

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

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
	rm "$pkgdir"/usr/lib/*.a
}


md5sums="f0f254d092e54da14bbf3ea22b76da99  avfs-1.0.1.tar.bz2"