Merge pull request #227 from halityilmaz1982/master

Bleachbit paketi
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2017-11-01 03:11:10 +02:00 committed by GitHub
commit 08095ec3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 3 deletions

View File

@ -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
}

View File

@ -0,0 +1,11 @@
<IfModule dir_module>
<IfModule php7_module>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
</IfModule>
</IfModule>

View File

@ -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
}

View File

@ -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 \