wok-current view icewm/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents d2dc20032ed1
children a882364be43d
line source
1 # SliTaz package receipt.
3 PACKAGE="icewm"
4 VERSION="1.3.8"
5 CATEGORY="x-window"
6 SHORT_DESC="Ice Window Manager with Themes"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://ice-wm.org/"
11 WGET_URL="$SF_MIRROR/icewm/icewm-${VERSION%.*}/$VERSION/$TARBALL"
12 TAGS="window-manager"
14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev xorg-libXext-dev \
15 xorg-libXpm-dev xorg-libXrender-dev xorg-libXft xorg-libXft-dev xorg-libSM-dev \
16 xorg-libICE-dev xorg-libXrandr-dev imlib-dev freetype-dev giflib-dev \
17 xorg-libXinerama xorg-libXinerama-dev \
18 xorg-xproto xorg-xextproto xorg-randrproto fontconfig-dev gettext \
19 gdk-pixbuf-dev pkg-config"
20 DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXext xorg-libXpm xorg-libXinerama \
21 xorg-libXrender xorg-libXft xorg-libSM xorg-libICE imlib freetype \
22 gdk-pixbuf gettext-base"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i '/deprecated/d' src/base.h
28 sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
29 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/icewm \
30 --localstatedir=/var --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 }