# HG changeset patch # User Xander Ziiryanoff # Date 1409082170 -7200 # Node ID 46f8c5dbe3be377605cf8b31395be1be4065d709 # Parent e96aa956e72ea7112bf7e4e621761a32ec07471c Add gtk-engines diff -r e96aa956e72e -r 46f8c5dbe3be gtk-engines/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtk-engines/receipt Tue Aug 26 21:42:50 2014 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="gtk-engines" +VERSION="2.20.2" +CATEGORY="gnome" +SHORT_DESC="All standart GTK+2 engines for themes" +MAINTAINER="psychomaniak@xakep.ru" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" + +DEPENDS="gtk+ xorg-libXdamage" +BUILD_DEPENDS="pkg-config file gtk+-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs && rm -rf $fs/usr/share/locale + rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la + cd $fs/usr/share/$PACKAGE ; sed -i '/lang/d' * + + # This clearlooks is 5(!) years newer (+~100Kb) + # but there are bugs with default slitaz gtk themes + find $fs -regex '.*\(clearlooks\|Clearlooks\).*' \ + -exec ls -l {} \; -delete +}