2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Libcurl için bir Python arabirimi
|
|
|
|
|
# URL: http://pycurl.sourceforge.net/
|
2018-08-14 22:14:48 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python3 python3-setuptools
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# Grup: kütüphane
|
|
|
|
|
|
2018-08-14 22:14:48 +02:00
|
|
|
|
isim=python3-curl
|
|
|
|
|
surum=7.43.0.2
|
2018-06-09 00:06:58 +02:00
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/pycurl/pycurl/archive/REL_${surum//./_}.tar.gz::$isim-$surum.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
2018-08-15 00:04:04 +02:00
|
|
|
|
cd pycurl-REL_7_43_0_2
|
2018-06-09 00:06:58 +02:00
|
|
|
|
make
|
|
|
|
|
python3 setup.py build --with-ssl
|
|
|
|
|
python3 setup.py install -O1 --root="$PKG"
|
|
|
|
|
install -D -m644 COPYING-MIT "$PKG"/usr/share/licenses/$isim/LICENSE
|
2018-08-15 00:04:04 +02:00
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2018-06-09 00:06:58 +02:00
|
|
|
|
}
|