milis/talimatname/genel/l/libindicator/talimat

32 lines
1.0 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
2017-06-23 15:10:58 +02:00
# URL: https://launchpad.net/libindicator
2017-10-27 20:46:27 +02:00
# Paketçi: yasarciv
# Gerekler: gtk3
2017-06-23 15:10:58 +02:00
2017-10-28 14:10:23 +02:00
isim=libindicator
surum=12.10.1
devir=1
kaynak=(https://launchpad.net/$isim/12.10/12.10.1/+download/$isim-$surum.tar.gz)
2017-06-23 15:10:58 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-06-23 15:10:58 +02:00
sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator/Makefile.{am,in}
sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i configure
sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i configure
sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i configure
sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i configure
sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i configure
sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i m4/libtool.m4
export CFLAGS="${CFLAGS} -Wno-error=deprecated-declarations"
./configure \
--prefix=/usr \
--localstatedir=/var \
--libexecdir=/usr/lib/libindicator \
--sysconfdir=/etc \
--with-gtk=3 \
--disable-static \
--disable-tests
make
make DESTDIR=$PKG install
}