wok-next annotate emerald/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | cf5b9b23125f |
children | f48456621a9d |
rev | line source |
---|---|
al@20569 | 1 # SliTaz package receipt v2. |
pankso@12406 | 2 |
pankso@12406 | 3 PACKAGE="emerald" |
psychomaniak@19217 | 4 VERSION="0.8.12.4" |
pankso@12406 | 5 CATEGORY="x-window" |
al@20569 | 6 SHORT_DESC="Window decorator for Compiz" |
pankso@12406 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20569 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
al@20569 | 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 |
al@19913 | 14 BUILD_DEPENDS="xorg-dev gtk+-dev libwnck2-dev compiz-core-dev \ |
pascal@19911 | 15 libtool autoconf automake intltool" |
pankso@12406 | 16 |
al@20569 | 17 compile_rules() { |
al@20569 | 18 ./autogen.sh \ |
al@20569 | 19 --prefix=/usr \ |
al@20569 | 20 --with-gtk=2.0 \ |
al@20569 | 21 $CONFIGURE_ARGS && |
al@20569 | 22 fix libtool && |
al@20569 | 23 make && |
al@20569 | 24 make install || return 1 |
al@20569 | 25 |
al@20569 | 26 # save original emerald theme as 'default': |
al@20569 | 27 mkdir -p $install/usr/share/emerald/themes/default/ |
al@20569 | 28 cd $install/usr/share/emerald/themes/default/ |
al@20569 | 29 for i in $(ls ../../theme/*.png); do |
al@20569 | 30 ln -s $i $(basename $i) |
al@20569 | 31 done |
al@20569 | 32 mv $install/usr/share/emerald/theme/theme.ini \ |
al@20569 | 33 $install/usr/share/emerald/themes/default/theme.ini |
al@20569 | 34 |
al@20569 | 35 # make SliTaz theme |
al@20569 | 36 ln -sf ../theme $install/usr/share/emerald/themes/SliTaz |
al@20569 | 37 cp $stuff/theme.ini $install/usr/share/emerald/themes/SliTaz/ |
al@20569 | 38 |
al@20569 | 39 # custom SliTaz config |
al@20569 | 40 cp -f $stuff/settings.ini $install/usr/share/emerald/ |
pankso@12406 | 41 } |
pankso@12406 | 42 |
al@20569 | 43 genpkg_rules() { |
al@20569 | 44 copy @std |
al@20569 | 45 DEPENDS="xorg-libX11 gtk+ libwnck2 compiz-core" |
pankso@12406 | 46 } |