milis/talimatname/genel/t/tsocks/talimat

25 lines
701 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Transparan SOCKS vekil kütüphanesi (ipv6 destekli)
# URL: https://github.com/Elysion-tcfa/tsocks
# Paketçi: milisarge
# Gerekler:
2018-07-26 13:00:20 +02:00
# Grup: kütüphane
2018-06-09 00:06:58 +02:00
isim=tsocks
surum=1.8beta6
devir=1
GIT_COMMIT=be36c83a7326c75123fa019a4cb53792ecd8f689
kaynak=(https://github.com/Elysion-tcfa/tsocks/archive/${GIT_COMMIT}.tar.gz
fix-mkinstalldirs.patch)
derle(){
cd "${SRC}/tsocks-${GIT_COMMIT}"
export CPPFLAGS=
patch -p1 < ../fix-mkinstalldirs.patch
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib
make
make DESTDIR="${PKG}" install
install -d "${PKG}/usr/share/${isim}"
install -m644 tsocks.conf.{simple,complex}.example "${PKG}/usr/share/${isim}"
}