diff --git a/talimatname/genel/b/bleachbit/talimat b/talimatname/genel/b/bleachbit/talimat new file mode 100644 index 000000000..adf92e37a --- /dev/null +++ b/talimatname/genel/b/bleachbit/talimat @@ -0,0 +1,23 @@ +# Tanım: Gereksiz dosyaları silerek diskte yer açar. +# URL: https://www.bleachbit.org/ +# Paketçi: halityilmaz1982 +# Gerekler: python-gtk desktop-file-utils gtk-update-icon-cache hicolor-icon-theme + +isim=bleachbit +surum=1.12 +devir=1 + +kaynak=(https://downloads.sourceforge.net/$isim/$isim-$surum.tar.bz2) + +derle() { +cd $isim-$surum + +for file in $(find . -name '*.py' -print); do + sed -i -e 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' \ + -e 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "$file" + done + sed -i 's/python/python2/g' Makefile + +make prefix=/usr DESTDIR="$PKG" PYTHON=python2 install + +} diff --git a/talimatname/genel/p/php7-apache/apache.conf b/talimatname/genel/p/php7-apache/apache.conf new file mode 100644 index 000000000..4a0f571f8 --- /dev/null +++ b/talimatname/genel/p/php7-apache/apache.conf @@ -0,0 +1,11 @@ + + + DirectoryIndex index.php index.html + + SetHandler application/x-httpd-php + + + SetHandler application/x-httpd-php-source + + + \ No newline at end of file diff --git a/talimatname/genel/p/php7-apache/talimat b/talimatname/genel/p/php7-apache/talimat new file mode 100644 index 000000000..a8e6051d4 --- /dev/null +++ b/talimatname/genel/p/php7-apache/talimat @@ -0,0 +1,21 @@ +# Tanım: php-apache kütüphanesi +# URL: http://www.php.net +# Paketçi: halityilmaz1982 +# Gerekler: php7 apache + +isim=php7-apache +surum=7.1.4 +devir=1 +kaynak=(http://www.php.net/distributions/php-$surum.tar.xz apache.conf) + +derle() { + cd php-$surum + + ./configure --disable-all \ + --with-apxs2 + make DESTDIR=$PKG install + + install -D -m755 ${SRC}/php-${surum}/libs/libphp7.so ${PKG}/usr/lib/httpd/modules/libphp7.so + install -D -m644 ${SRC}/apache.conf ${PKG}/etc/httpd/conf/extra/php7_module.conf + echo "extension=apache.so" > $PKG/etc/php/conf.d/apache.ini +} diff --git a/talimatname/genel/p/php7/talimat b/talimatname/genel/p/php7/talimat index 7ca5fa575..efffe05c5 100644 --- a/talimatname/genel/p/php7/talimat +++ b/talimatname/genel/p/php7/talimat @@ -5,14 +5,14 @@ isim=php7 _isim=php -surum=7.1.4 +surum=7.1.11 devir=1 -kaynak=(http://php.net/distributions/${_name}-$surum.tar.xz) +kaynak=(http://php.net/distributions/${_isim}-$surum.tar.xz{,.asc}) derle() { - cd ${_name}-$surum + cd ${_isim}-$surum ./configure --prefix=/usr \ --sysconfdir=/etc \