wok-current annotate icewm/receipt @ rev 23887
glibc: fix for binutils 2.29 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 17 11:18:27 2020 +0000 (2020-07-17) |
parents | 0186662b0fe8 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@7182 | 1 # SliTaz package receipt. |
slaxemulator@7182 | 2 |
slaxemulator@7182 | 3 PACKAGE="icewm" |
Hans-G?nter@22941 | 4 VERSION="1.6.4" |
slaxemulator@7182 | 5 CATEGORY="x-window" |
Hans-G?nter@22941 | 6 TAGS="window-manager" |
Hans-G?nter@22941 | 7 SHORT_DESC="Ice Window Manager with Themes." |
slaxemulator@7182 | 8 MAINTAINER="devl547@gmail.com" |
pascal@15319 | 9 LICENSE="GPL2" |
Hans-G?nter@22941 | 10 WEB_SITE="https://ice-wm.org/" |
Hans-G?nter@22941 | 11 |
slaxemulator@7182 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22942 | 13 WGET_URL="https://github.com/ice-wm/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@15319 | 14 |
Hans-G?nter@22941 | 15 DEPENDS="freetype gcc83-lib-base gdk-pixbuf gettext-base imlib xorg-libICE |
Hans-G?nter@22941 | 16 xorg-libSM xorg-libX11 xorg-libXext xorg-libXft xorg-libXinerama |
Hans-G?nter@22941 | 17 xorg-libXpm xorg-libXrandr xorg-libXrender" |
Hans-G?nter@22941 | 18 BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev gcc83 |
Hans-G?nter@22941 | 19 gdk-pixbuf-dev gettext giflib-dev imlib-dev libtool pkg-config |
Hans-G?nter@22941 | 20 util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev |
Hans-G?nter@22941 | 21 xorg-libXext-dev xorg-libXft-dev xorg-libXinerama-dev xorg-libXpm-dev |
Hans-G?nter@22941 | 22 xorg-libXrandr-dev xorg-libXrender-dev xorg-randrproto xorg-xextproto |
Hans-G?nter@22943 | 23 xorg-xproto xz" |
slaxemulator@7182 | 24 |
slaxemulator@7182 | 25 # Rules to configure and make the package. |
slaxemulator@7182 | 26 compile_rules() |
slaxemulator@7182 | 27 { |
Hans-G?nter@22941 | 28 # sed -i '/deprecated/d' src/base.h |
Hans-G?nter@22941 | 29 # sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in |
Hans-G?nter@22941 | 30 |
Hans-G?nter@22941 | 31 export LDFLAGS="$LDFLAGS -lrt" |
Hans-G?nter@22941 | 32 |
Hans-G?nter@22941 | 33 ./autogen.sh && |
Hans-G?nter@22941 | 34 ./configure \ |
Hans-G?nter@22941 | 35 ASCIIDOC=asciidoc \ |
Hans-G?nter@22941 | 36 CC=gcc-83 \ |
Hans-G?nter@22941 | 37 CXX=g++-83 \ |
Hans-G?nter@22941 | 38 --prefix=/usr \ |
Hans-G?nter@22941 | 39 --sysconfdir=/etc \ |
Hans-G?nter@22941 | 40 --libexecdir=/usr/lib/icewm \ |
Hans-G?nter@22941 | 41 --localstatedir=/var \ |
Hans-G?nter@22941 | 42 --mandir=/usr/share/man \ |
Hans-G?nter@22941 | 43 $CONFIGURE_ARGS && |
Hans-G?nter@22941 | 44 # remove unsupported options for pod2man and pod2html (perl 5.14.1) |
Hans-G?nter@22941 | 45 sed -i '/--errors="none"/d; /--nourls/d; /--poderrors/d' \ |
Hans-G?nter@22941 | 46 man/Makefile && |
slaxemulator@7182 | 47 make && |
pascal@15319 | 48 make DESTDIR=$DESTDIR install |
slaxemulator@7182 | 49 } |
slaxemulator@7182 | 50 |
slaxemulator@7182 | 51 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7182 | 52 genpkg_rules() |
slaxemulator@7182 | 53 { |
Hans-G?nter@22941 | 54 mkdir -p $fs/usr |
Hans-G?nter@22941 | 55 |
Hans-G?nter@22941 | 56 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22941 | 57 cp -a $install/usr/share $fs/usr |
slaxemulator@7182 | 58 } |