wok-6.x annotate gtk-engines/receipt @ rev 20601

zoneminder: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 10:11:02 2018 +0100 (2018-12-17)
parents 46f8c5dbe3be
children 6831608a1b2a
rev   line source
psychomaniak@17087 1 # SliTaz package receipt.
psychomaniak@17087 2
psychomaniak@17087 3 PACKAGE="gtk-engines"
psychomaniak@17087 4 VERSION="2.20.2"
al@19126 5 CATEGORY="customization"
psychomaniak@17087 6 SHORT_DESC="All standart GTK+2 engines for themes"
psychomaniak@17087 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17087 8 LICENSE="GPL2"
psychomaniak@17087 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@17087 10 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
psychomaniak@17087 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
psychomaniak@17087 12
psychomaniak@17087 13 DEPENDS="gtk+ xorg-libXdamage"
psychomaniak@17087 14 BUILD_DEPENDS="pkg-config file gtk+-dev"
psychomaniak@17087 15
psychomaniak@17087 16 # Rules to configure and make the package.
psychomaniak@17087 17 compile_rules()
psychomaniak@17087 18 {
psychomaniak@17087 19 ./configure && make && make install
psychomaniak@17087 20 }
psychomaniak@17087 21
psychomaniak@17087 22 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17087 23 genpkg_rules()
psychomaniak@17087 24 {
psychomaniak@17087 25 cp -a $install/* $fs && rm -rf $fs/usr/share/locale
psychomaniak@17087 26 rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
psychomaniak@17087 27 cd $fs/usr/share/$PACKAGE ; sed -i '/lang/d' *
psychomaniak@17087 28
psychomaniak@17087 29 # This clearlooks is 5(!) years newer (+~100Kb)
psychomaniak@17087 30 # but there are bugs with default slitaz gtk themes
psychomaniak@17087 31 find $fs -regex '.*\(clearlooks\|Clearlooks\).*' \
psychomaniak@17087 32 -exec ls -l {} \; -delete
psychomaniak@17087 33 }