2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Göstergeler için bir dizi sembol ve kolaylık fonksiyonu
|
|
|
|
|
# URL: https://launchpad.net/libindicator
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: gtk2
|
2018-08-03 13:31:46 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=libindicator-gtk2
|
|
|
|
|
surum=0.4.93
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(http://launchpad.net/libindicator/0.5/$surum/+download/libindicator-$surum.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
|
|
|
|
|
sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator-$surum/libindicator/Makefile.{am,in}
|
|
|
|
|
sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i libindicator-$surum/configure
|
|
|
|
|
sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i libindicator-$surum/configure
|
|
|
|
|
sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i libindicator-$surum/configure
|
|
|
|
|
sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i libindicator-$surum/configure
|
|
|
|
|
sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i libindicator-$surum/configure
|
|
|
|
|
|
|
|
|
|
cd libindicator-$surum
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--libexecdir=/usr/lib/$isim \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-gtk=2
|
|
|
|
|
make -j1
|
|
|
|
|
make -j1 DESTDIR=$PKG install
|
|
|
|
|
}
|