aboutsummaryrefslogblamecommitdiffstats
path: root/main/encfs/APKBUILD
blob: dd1a10aedbed3f1458d46f1fb2f05ca9874a046e (plain) (tree)
1
2
3
4
5
6
7
8
                                                   
                                                   
             
            
                  
        
                                                              
                                     



              
                                                     
                                              
          
                          
                                                                                     
 
                                    












                                                                        





                                 





                                                    

 


                                                                                                                                                                 
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=encfs
pkgver=1.8.1
_ver=${pkgver/_/-}
pkgrel=8
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 libressl-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"