wok view icewm/receipt @ rev 17250
libarchive-dev: update genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 12:29:39 2014 +0200 (2014-10-19) |
parents | 3cd4cca439e4 |
children | 5d53e8ccbc8d |
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-1.3/$VERSION/$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-base"
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 \
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 }