wok-next view icewm/receipt @ rev 18924
glibc: fix build (thanks az_ua)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 25 14:47:17 2016 +0200 (2016-02-25) |
parents | af8a8f177c6c |
children | bfc47a018aaa |
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="http://www.icewm.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 }