wok-current view icewm/receipt @ rev 23645
openal: added dependency libatomic
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 13:45:45 2020 +0100 (2020-04-20) |
parents | 0186662b0fe8 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="icewm"
4 VERSION="1.6.4"
5 CATEGORY="x-window"
6 TAGS="window-manager"
7 SHORT_DESC="Ice Window Manager with Themes."
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://ice-wm.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/ice-wm/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="freetype gcc83-lib-base gdk-pixbuf gettext-base imlib xorg-libICE
16 xorg-libSM xorg-libX11 xorg-libXext xorg-libXft xorg-libXinerama
17 xorg-libXpm xorg-libXrandr xorg-libXrender"
18 BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev gcc83
19 gdk-pixbuf-dev gettext giflib-dev imlib-dev libtool pkg-config
20 util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev
21 xorg-libXext-dev xorg-libXft-dev xorg-libXinerama-dev xorg-libXpm-dev
22 xorg-libXrandr-dev xorg-libXrender-dev xorg-randrproto xorg-xextproto
23 xorg-xproto xz"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # sed -i '/deprecated/d' src/base.h
29 # sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
31 export LDFLAGS="$LDFLAGS -lrt"
33 ./autogen.sh &&
34 ./configure \
35 ASCIIDOC=asciidoc \
36 CC=gcc-83 \
37 CXX=g++-83 \
38 --prefix=/usr \
39 --sysconfdir=/etc \
40 --libexecdir=/usr/lib/icewm \
41 --localstatedir=/var \
42 --mandir=/usr/share/man \
43 $CONFIGURE_ARGS &&
44 # remove unsupported options for pod2man and pod2html (perl 5.14.1)
45 sed -i '/--errors="none"/d; /--nourls/d; /--poderrors/d' \
46 man/Makefile &&
47 make &&
48 make DESTDIR=$DESTDIR install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/share $fs/usr
58 }