wok-6.x view devilspie/receipt @ rev 21619

gcc83-lib-base: revert to gcc-lib-base post install
Previous post-install rules don't work for me producing error:
error: C compiler cannot create executables
on the another plain build when I previously used gcc83 & gcc83-lib-base to compile my other package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 25 14:09:45 2019 +0300 (2019-05-25)
parents 17e313b5b9c1
children bfabe25c21ff
line source
1 # SliTaz package receipt.
3 PACKAGE="devilspie"
4 VERSION="0.22"
5 CATEGORY="x-window"
6 SHORT_DESC="Windows matching utility."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.burtonini.com/blog/tag/devilspie.html"
11 WGET_URL="http://burtonini.com/computing/$TARBALL"
13 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
15 xorg-libXrandr xorg-libXrender xorg-libXdamage"
16 BUILD_DEPENDS="intltool libwnck-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
23 sed -i \
24 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
25 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
26 src/xutils.c src/actions.c
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }