wok annotate emerald/receipt @ rev 25625

Add opendkim (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 17:14:09 2023 +0000 (14 months ago)
parents 5ea0ce1cecc0
children
rev   line source
pankso@12406 1 # SliTaz package receipt.
pankso@12406 2
pankso@12406 3 PACKAGE="emerald"
Hans-G?nter@20880 4 VERSION="0.8.14"
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"
Hans-G?nter@20880 9 WEB_SITE="https://github.com/compiz-reloaded"
Hans-G?nter@20880 10
psychomaniak@19217 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pankso@12406 13
pankso@12406 14 DEPENDS="xorg-libX11 gtk+ libwnck compiz-core"
Hans-G?nter@20880 15 BUILD_DEPENDS="autoconf automake xorg-dev gtk+-dev compiz-core-dev \
pascal@22809 16 libtool libwnck-dev xz"
pankso@12406 17
pascal@25599 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25599 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
pankso@12406 25 # Rules to configure and make the package.
pankso@12406 26 compile_rules()
pankso@12406 27 {
Hans-G?nter@20880 28 ./autogen.sh \
Hans-G?nter@20880 29 --prefix=/usr \
Hans-G?nter@20880 30 --with-gtk=2.0 \
Hans-G?nter@20880 31 $CONFIGURE_ARGS &&
Hans-G?nter@20880 32 make -j 1 &&
Hans-G?nter@20880 33 make install
pankso@12406 34 }
pankso@12406 35
pankso@12406 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12406 37 genpkg_rules()
pankso@12406 38 {
Hans-G?nter@20882 39 # Copy emerald.mo files:
Hans-G?nter@20882 40 for lang in de es fr it pt_BR ru; do
Hans-G?nter@20882 41 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@20882 42 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/emerald.mo \
Hans-G?nter@20885 43 $fs/usr/share/locale/$lang/LC_MESSAGES/
Hans-G?nter@20882 44 done
Hans-G?nter@20882 45
Hans-G?nter@20882 46 mkdir -p $fs/usr/lib
pankso@12406 47 cp -a $install/usr/bin $fs/usr
pankso@12406 48 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pankso@12406 49 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
pankso@12406 50 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
pankso@12406 51 cp -a $install/usr/share/$PACKAGE $fs/usr/share
psychomaniak@19217 52 cp -a $install/usr/share/icons $fs/usr/share
pankso@12406 53 # SliTaz config and theme (to move in slitaz-configs ?)
pankso@12406 54 cp -f $stuff/settings.ini $fs/usr/share/emerald
pankso@12406 55 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
psychomaniak@19217 56 cd $fs/usr/share/emerald
psychomaniak@19217 57 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
psychomaniak@19217 58 mkdir default ; cd default
psychomaniak@19217 59 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
psychomaniak@19217 60 cp -a $install/usr/share/emerald/theme/theme.ini .
pankso@12406 61 }