2017-04-19 14:08:37 +02:00
|
|
|
# Description: Hafif panel/görev çubuğu
|
2016-03-02 01:26:35 +01:00
|
|
|
# URL: http://tint2.googlecode.com
|
|
|
|
# Packager: Vitaly Sinilin, vs at kp4 dot ru
|
|
|
|
# Depends on: cmake imlib2 pango
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=tint2
|
2016-03-02 01:26:35 +01:00
|
|
|
version=0.11
|
|
|
|
release=2
|
|
|
|
source=(http://$name.googlecode.com/files/$name-$version.tar.bz2 \
|
|
|
|
add-power-now-support.patch)
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
build() {
|
2016-03-02 01:26:35 +01:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
patch -p0 -i $SRC/add-power-now-support.patch
|
2016-02-24 01:27:23 +01:00
|
|
|
|
2016-03-02 01:26:35 +01:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DENABLE_BATTERY=ON \
|
|
|
|
-DENABLE_EXAMPLES=OFF \
|
|
|
|
-DENABLE_TINT2CONF=OFF \
|
|
|
|
-DMANDIR=/usr/man \
|
|
|
|
-DSYSCONFDIR=/usr/etc
|
2016-02-24 01:27:23 +01:00
|
|
|
|
2016-03-02 01:26:35 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share
|
2016-02-24 01:27:23 +01:00
|
|
|
}
|