mps-dly.guncellendi

This commit is contained in:
milisman 2016-06-02 02:55:44 +03:00
parent 27d5c9647f
commit 39fca5f99f
3 changed files with 36 additions and 27 deletions

59
bin/mps
View File

@ -184,28 +184,31 @@ yeniden_paketle(){
derleme_listyap(){ derleme_listyap(){
bagimlist=`bagimlilar "$1"` bagimlist=`bagimlilar "$1"`
for bagim in $bagimlist;do
if [ "`cat tumbag.liste | grep $bagim`" != "$bagim" ];then if [ "$bagimlist" != "talimatyok" ];then
derleme_listyap "$bagim" for bagim in $bagimlist;do
fi
done if [ "`cat tumbag.liste | grep $bagim`" != "$bagim" ];then
#if [ "`cat tumbag.liste | grep $1`" != "$1" ];then derleme_listyap "$bagim"
# echo "tumbag.liste yazılıyor:" "$1" fi
# echo "$1" >> tumbag.liste
#fi done
if ! grep -Fxq "$1" tumbag.liste
then if ! grep -Fxq "$1" tumbag.liste
# echo "pas" then
#else ana="`find $talimatname_dizin -name $1`"
ana="`find $talimatname_dizin -name $1`" echo ${ana#"$talimatname_dizin"}
echo ${ana#"$talimatname_dizin"} #sadece genel bagimliliklar derlenecek
#sadece genel bagimliliklar derlenecek echo "$1" >> tumbag.liste
echo "$1" >> tumbag.liste if [ -d "$talimatname_dizin/genel/$1" ];then
if [ -d "$talimatname_dizin/genel/$1" ];then echo "$1" >> bag.liste
echo "$1" >> bag.liste fi
fi fi
else
ryaz 31 "$1 talimatı bulunamadı."
exit 1
fi fi
} }
derleme_listbilgi(){ derleme_listbilgi(){
ryaz 34 "yapim asamasında" ryaz 34 "yapim asamasında"
@ -405,11 +408,17 @@ paket_derle(){
bagimlilar(){ bagimlilar(){
local bagimd konum local bagimd konum
konum="`find "$talimatname_dizin" -name $1`" konum="`find "$talimatname_dizin" -name $1`"
bagimd=`cat $konum/talimat | grep "Depends on" | cut -d':' -f2` if [ -f "$konum/talimat" ];then
if [ -n "$bagimd" ]; then bagimd=`cat $konum/talimat | grep "Depends on" | cut -d':' -f2`
bagimd=`echo "$bagimd" | sed 's/,/ /g'`
#sıralı gösterme if [ -n "$bagimd" ]; then
echo `echo "$bagimd" | sed 's/,/ /g'` bagimd=`echo "$bagimd" | sed 's/,/ /g'`
#sıralı gösterme
echo `echo "$bagimd" | sed 's/,/ /g'`
fi
else
echo "talimatyok"
exit 1
fi fi
} }

View File

@ -1,6 +1,6 @@
# Description: Boost provides a set of free peer-reviewed portable C++ source libraries. # Description: Boost provides a set of free peer-reviewed portable C++ source libraries.
# URL: http://boost.sourceforge.net/ # URL: http://boost.sourceforge.net/
# Packager: tnut at nutyx dot org # Packager: milisarge
# Depends on: icu python # Depends on: icu python
name=boost name=boost

View File

@ -1,6 +1,6 @@
# Description: Python library for accessing FreeDesktop standards # Description: Python library for accessing FreeDesktop standards
# URL: http://freedesktop.org/wiki/Software/pyxdg # URL: http://freedesktop.org/wiki/Software/pyxdg
# Packager: geantbrun at gmail dot com # Packager: milisarge
# Depends on: python # Depends on: python
name=python-xdg name=python-xdg