wok-6.x annotate emerald/receipt @ rev 20764

syslinux/iso2exe/init: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 13 11:08:54 2019 +0100 (2019-02-13)
parents 533c0cab6960
children aa514ab6f5bf
rev   line source
pankso@12406 1 # SliTaz package receipt.
pankso@12406 2
pankso@12406 3 PACKAGE="emerald"
psychomaniak@19217 4 VERSION="0.8.12.4"
pankso@12406 5 CATEGORY="x-window"
pankso@12406 6 SHORT_DESC="Window decorator for Compiz."
pankso@12406 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
psychomaniak@19217 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 10 WEB_SITE="https://github.com/compiz-reloaded"
psychomaniak@19217 11 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pankso@12406 12
pankso@12406 13 DEPENDS="xorg-libX11 gtk+ libwnck compiz-core"
psychomaniak@19217 14 BUILD_DEPENDS="xorg-dev gtk+-dev libwnck-dev compiz-core-dev \
psychomaniak@19217 15 libtool autoconf automake"
pankso@12406 16
pankso@12406 17 # Rules to configure and make the package.
pankso@12406 18 compile_rules()
pankso@12406 19 {
psychomaniak@19217 20 ./autogen.sh --prefix=/usr --with-gtk=2.0 $CONFIGURE_ARGS &&
pankso@12406 21 make && make install
pankso@12406 22 }
pankso@12406 23
pankso@12406 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12406 25 genpkg_rules()
pankso@12406 26 {
psychomaniak@19217 27 mkdir -p $fs/usr/lib $fs/usr/share/locale
psychomaniak@19217 28 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
pankso@12406 29 cp -a $install/usr/bin $fs/usr
pankso@12406 30 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pankso@12406 31 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
pankso@12406 32 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
pankso@12406 33 cp -a $install/usr/share/$PACKAGE $fs/usr/share
psychomaniak@19217 34 cp -a $install/usr/share/icons $fs/usr/share
pankso@12406 35 # SliTaz config and theme (to move in slitaz-configs ?)
pankso@12406 36 cp -f $stuff/settings.ini $fs/usr/share/emerald
pankso@12406 37 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
psychomaniak@19217 38 cd $fs/usr/share/emerald
psychomaniak@19217 39 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
psychomaniak@19217 40 mkdir default ; cd default
psychomaniak@19217 41 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
psychomaniak@19217 42 cp -a $install/usr/share/emerald/theme/theme.ini .
pankso@12406 43 }