aboutsummaryrefslogtreecommitdiffstats
path: root/main/encfs/APKBUILD
blob: 6dcae94b98a0d09f07003b5db268f27983d6e2a5 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=encfs
pkgver=1.8.1
_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="rlog-dev openssl-dev fuse-dev boost-dev
	libtool gettext-dev autoconf automake"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$_ver.tar.gz::https://github.com/vgough/encfs/archive/v$_ver.tar.gz"

_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
}

md5sums="ecc4f04ccd6017cafcf98781421589bd  encfs-1.8.1.tar.gz"
sha256sums="ed6b69d8aba06382ad01116bbce2e4ad49f8de85cdf4e2fab7ee4ac82af537e9  encfs-1.8.1.tar.gz"
sha512sums="47e6cdded84c65bdb98c14774472a2f9df67f2bea05e4c2e20811d785c5ee458b708030922db9a5b49382495235a329bc8e889d104cc8501cd954119699847c6  encfs-1.8.1.tar.gz"