aboutsummaryrefslogtreecommitdiffstats
path: root/testing/encfs/APKBUILD
blob: 250c9ccf22731e02ae50e473657f9ac9675fa27f (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
45
46
47
48
49
50
51
52
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer:
pkgname=encfs
pkgver=1.8_rc1
_ver=${pkgver/_/-}
pkgrel=1
pkgdesc="EncFS provides an encrypted filesystem in user-space"
url="https://vgough.github.io/encfs/"
arch="all"
license="GPL"
depends="fuse"
depends_dev=""
makedepends="libstdc++ rlog-dev openssl-dev fuse-dev boost-dev
	libtool gettext-dev autoconf automake"
install=""
subpackages="$pkgname-libs $pkgname-doc"
source="$pkgname-$_ver.tar.gz::https://github.com/vgough/encfs/archive/v$_ver.tar.gz"
options="libtool"

_builddir="$srcdir/${pkgname}-$_ver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
	autoreconf -if
}

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

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
        libtool --finish "${pkgdir}"/usr/lib
	find "$pkgdir" -name '*.la' -delete || return 1
}

md5sums="1566af6b1a97be262215f6c509b34012  encfs-1.8-rc1.tar.gz"
sha256sums="387375019bb4059f36b03ec69aed5ff42c8b56a1d3d9fe39ded5e8e62255c117  encfs-1.8-rc1.tar.gz"
sha512sums="04adba347c6a67f87c7fa541750064eca4cbd6e950dec22e1a2358d8764ea49d821aa6881a76e3b3aedbc927a11d9bcf33273211a959609e10afa0175333516f  encfs-1.8-rc1.tar.gz"