milis/talimatname/genel/p/python-magic/talimat

16 lines
454 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Magic kütüphanesi için python bağlantısı.
2017-06-30 21:43:08 +02:00
# URL: http://darwinsys.com/file/
2017-10-27 20:46:27 +02:00
# Paketçi: yakar (aydin@komutan.org)
# Gerekler: python-setuptools
2017-06-30 21:43:08 +02:00
2017-10-28 14:10:23 +02:00
isim=python-magic
surum=5.29
devir=1
kaynak=(ftp://ftp.astron.com/pub/file/file-${surum}.tar.gz)
2017-06-30 21:43:08 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "${SRC}/file-${surum}/python"
2017-06-30 21:43:08 +02:00
python setup.py install --root="${PKG}" --optimize=1
2017-10-28 14:10:23 +02:00
install -Dm0644 "${SRC}/file-${surum}/COPYING" "${PKG}/usr/share/licenses/${isim}/COPYING"
2017-06-30 21:43:08 +02:00
}