milis/talimatname/genel/t/tsocks/talimat

24 lines
681 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Transparan SOCKS vekil kütüphanesi (ipv6 destekli)
2017-03-24 11:36:09 +01:00
# URL: https://github.com/Elysion-tcfa/tsocks
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-03-24 11:36:09 +01:00
2017-10-28 14:10:23 +02:00
isim=tsocks
surum=1.8beta6
devir=1
2017-03-24 11:36:09 +01:00
GIT_COMMIT=be36c83a7326c75123fa019a4cb53792ecd8f689
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/Elysion-tcfa/tsocks/archive/${GIT_COMMIT}.tar.gz
2017-03-24 11:36:09 +01:00
fix-mkinstalldirs.patch)
2017-10-27 23:59:41 +02:00
derle(){
2017-03-24 11:36:09 +01:00
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
2017-10-28 14:10:23 +02:00
install -d "${PKG}/usr/share/${isim}"
install -m644 tsocks.conf.{simple,complex}.example "${PKG}/usr/share/${isim}"
2017-03-24 11:36:09 +01:00
}