wok-current view icewm/receipt @ rev 24380
blender: added implicite build dependency libboost-locale
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 10:08:38 2022 +0100 (2022-02-06) |
parents | 5faac9811812 |
children | 750eba330f9c |
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 current_version()
26 {
27 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
28 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 # sed -i '/deprecated/d' src/base.h
35 # sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
37 export LDFLAGS="$LDFLAGS -lrt"
39 ./autogen.sh &&
40 ./configure \
41 ASCIIDOC=asciidoc \
42 CC=gcc-83 \
43 CXX=g++-83 \
44 --prefix=/usr \
45 --sysconfdir=/etc \
46 --libexecdir=/usr/lib/icewm \
47 --localstatedir=/var \
48 --mandir=/usr/share/man \
49 $CONFIGURE_ARGS &&
50 # remove unsupported options for pod2man and pod2html (perl 5.14.1)
51 sed -i '/--errors="none"/d; /--nourls/d; /--poderrors/d' \
52 man/Makefile &&
53 make &&
54 make DESTDIR=$DESTDIR install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr
62 cp -a $install/usr/bin $fs/usr
63 cp -a $install/usr/share $fs/usr
64 }