diff options
Diffstat (limited to 'main/avfs')
-rw-r--r-- | main/avfs/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/avfs/APKBUILD b/main/avfs/APKBUILD new file mode 100644 index 000000000..37ccc19e0 --- /dev/null +++ b/main/avfs/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: V.Krishn <vkrishn4@gmail.com> +# Maintainer: +pkgname=avfs +pkgver=1.0.0 +pkgrel=0 +pkgdesc="A Virtual File System for looking into archives" +url="http://avf.sourceforge.net/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="bash 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="c58421e4f294125895f2c6653a7366a7 avfs-1.0.0.tar.bz2" |