aboutsummaryrefslogtreecommitdiffstats
path: root/main/encfs
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-07 11:22:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-07 11:22:54 +0200
commita95a74c3c8ffb8b763964a061f1c7f04a717f0f5 (patch)
tree87cee6e5caa439f009b0a65669fab55d08adbe0f /main/encfs
parent935a7211e16924c10a97369aec64191ffd132784 (diff)
downloadaports-a95a74c3c8ffb8b763964a061f1c7f04a717f0f5.tar.bz2
aports-a95a74c3c8ffb8b763964a061f1c7f04a717f0f5.tar.xz
main/encfs: move from testing
Diffstat (limited to 'main/encfs')
-rw-r--r--main/encfs/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/main/encfs/APKBUILD b/main/encfs/APKBUILD
new file mode 100644
index 0000000000..c11e84c86d
--- /dev/null
+++ b/main/encfs/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# 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"