wok annotate emerald/receipt @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents e2f8a574b574
children 20ad21d5532c
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@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pankso@12406 24 # Rules to configure and make the package.
pankso@12406 25 compile_rules()
pankso@12406 26 {
Hans-G?nter@20880 27 ./autogen.sh \
Hans-G?nter@20880 28 --prefix=/usr \
Hans-G?nter@20880 29 --with-gtk=2.0 \
Hans-G?nter@20880 30 $CONFIGURE_ARGS &&
Hans-G?nter@20880 31 make -j 1 &&
Hans-G?nter@20880 32 make install
pankso@12406 33 }
pankso@12406 34
pankso@12406 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12406 36 genpkg_rules()
pankso@12406 37 {
Hans-G?nter@20882 38 # Copy emerald.mo files:
Hans-G?nter@20882 39 for lang in de es fr it pt_BR ru; do
Hans-G?nter@20882 40 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@20882 41 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/emerald.mo \
Hans-G?nter@20885 42 $fs/usr/share/locale/$lang/LC_MESSAGES/
Hans-G?nter@20882 43 done
Hans-G?nter@20882 44
Hans-G?nter@20882 45 mkdir -p $fs/usr/lib
pankso@12406 46 cp -a $install/usr/bin $fs/usr
pankso@12406 47 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pankso@12406 48 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
pankso@12406 49 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
pankso@12406 50 cp -a $install/usr/share/$PACKAGE $fs/usr/share
psychomaniak@19217 51 cp -a $install/usr/share/icons $fs/usr/share
pankso@12406 52 # SliTaz config and theme (to move in slitaz-configs ?)
pankso@12406 53 cp -f $stuff/settings.ini $fs/usr/share/emerald
pankso@12406 54 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
psychomaniak@19217 55 cd $fs/usr/share/emerald
psychomaniak@19217 56 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
psychomaniak@19217 57 mkdir default ; cd default
psychomaniak@19217 58 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
psychomaniak@19217 59 cp -a $install/usr/share/emerald/theme/theme.ini .
pankso@12406 60 }