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

                


                                              
                             
                 




                          
                                                                                           
                        
                                            

         
                      







                                         



                        
                      


                                                    

                                                                                                                                                                    
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Contributor: 7heo <7heo@mail.com>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=tsocks
pkgver=1.8_beta5
pkgrel=0
pkgdesc="A transparent SOCKS proxying library"
url="http://tsocks.sourceforge.net/"
arch="x86_64 ppc64le aarch64"
license="GPL-2.0"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_beta/beta}.tar.gz
	configure.patch"
builddir="${srcdir}/${pkgname}-${pkgver%_*}"

build() {
	cd "$builddir"
        ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--libdir=/usr/lib \
		|| return 1
        make || return 1
}

package() {
	cd "$builddir"
        make DESTDIR="${pkgdir}" install || return 1
}

sha512sums="b41636ea6b77abf0d1e3cda7bbca4e7ee96f3cdb1843f3a2c530650931e5567f67921de67b28ba9bab0f51df39770a3f7fb458cf7ac78aad7aa861923df2c4a9  tsocks-1.8beta5.tar.gz
919479e359cafe4b331f5e5b058e0f07d1e6a37aa614891f9b16b4ea12a2358f8f42bb75c8cf9ebbecb223f88b1326e35f490c166247bd00d58e1eee57955800  configure.patch"