milis/talimatname/genel/l/libindicator-gtk2/talimat

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Göstergeler için bir dizi sembol ve kolaylık fonksiyonu
2016-02-24 01:27:23 +01:00
# URL: https://launchpad.net/libindicator
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: gtk2
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=libindicator-gtk2
2017-11-27 21:25:14 +01:00
surum=0.4.93
2017-10-28 14:10:23 +02:00
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://launchpad.net/libindicator/0.5/$surum/+download/libindicator-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
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
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
cd libindicator-$surum
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
2017-10-28 14:10:23 +02:00
--libexecdir=/usr/lib/$isim \
2016-02-24 01:27:23 +01:00
--disable-static \
--with-gtk=2
make -j1
make -j1 DESTDIR=$PKG install
}