wok-6.x view icewm/receipt @ rev 16786

Add softether
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 27 13:13:18 2014 +0200 (2014-06-27)
parents fe747cfe0009
children 3cd4cca439e4
line source
1 # SliTaz package receipt.
3 PACKAGE="icewm"
4 VERSION="1.3.7pre2"
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="http://www.icewm.org/"
11 WGET_URL="$SF_MIRROR/icewm/icewm-1.3/1.3.7pre2/$TARBALL"
13 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev xorg-libXext-dev \
14 xorg-libXpm-dev xorg-libXrender-dev xorg-libXft xorg-libXft-dev xorg-libSM-dev \
15 xorg-libICE-dev xorg-libXrandr-dev imlib-dev freetype-dev giflib-dev \
16 xorg-libXinerama xorg-libXinerama-dev \
17 xorg-xproto xorg-xextproto xorg-randrproto fontconfig-dev gettext \
18 gdk-pixbuf-dev pkg-config"
19 DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXext xorg-libXpm \
20 xorg-libXrender xorg-libXft xorg-libSM xorg-libICE imlib freetype \
21 gdk-pixbuf giflib gettext"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
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 --disable-i18n \
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 }