milis/talimatname/genel/x/xfce4-hardware-monitor-plugin/talimat

23 lines
936 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: CPU kullanımı, ağ bant genişliği vb. Izlemenizi sağlayan Xfce4 paneli için eklenti
# URL: http://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/
# Paketçi: yasarciv67@gmail.com
# Gerekler: autoconf-archive intltool xfce4-dev-tools lm-sensors gtkmm libglademm libgnomecanvasmm libgtop xfce4-libui xfce4-panel
# Grup: sistem
isim=xfce4-hardware-monitor-plugin
surum=1.5.0
devir=1.
kaynak=(https://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/snapshot/$isim-$surum.tar.bz2)
derle() {
cd $isim-$surum
sed -i '/c++11/d' configure.ac
sed -i '/gnu++11/d' configure.ac
sed -i 's/AM_PROG_AR/AM_PROG_AR\nAX_CHECK_COMPILE_FLAG([-std=c++11], [CXXFLAGS="$CXXFLAGS -std=c++11"])/' configure.ac
sed -i 's/AM_PROG_AR/AM_PROG_AR\nAX_CHECK_COMPILE_FLAG([-std=gnu++11], [CXXFLAGS="$CXXFLAGS -std=gnu++11"])/' configure.ac
./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}