wok view wine-rt/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents ee1d44476432
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wine-rt"
4 VERSION="5.0"
5 CATEGORY="misc"
6 TAGS="windows"
7 SHORT_DESC="Windows API for Linux."
8 MAINTAINER="xj@wp.pl"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.winehq.org/"
12 TARBALL="${PACKAGE%-rt}-$VERSION.tar.xz"
13 WGET_URL="https://dl.winehq.org/${PACKAGE%-rt}/source/${VERSION}/$TARBALL"
15 PROVIDE="wine"
16 DEPENDS="alsa-lib freetype jpeg lcms libglu-mesa libpng libxslt libxml2 mesa
17 tiff xorg-dev"
18 BUILD_DEPENDS="alsa-lib-dev bison flex freetype-dev jpeg-dev lcms-dev libglu-mesa-dev
19 libpng-dev libtool libxml2-dev libxslt-dev mesa-dev prelink tiff-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE 2>/dev/null | \
25 sed '/announce/!d;s|.*;||;s|<.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # since 1.7.3.2
32 patch -s -Np1 -i $stuff/wine-rt-101107.patch
34 CONFIGURE_ARGS='
35 --prefix=/usr
36 --disable-tests
37 --without-capi
38 --without-cms
39 --without-coreaudio
40 --without-cups
41 --without-gphoto
42 --without-gnutls
43 --without-gsm
44 --without-ldap
45 --without-mpg123
46 --without-openal
47 --without-opencl
48 --without-oss
49 --without-sane
50 --without-v4l
51 --disable-win16
52 --with-x
53 '
54 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
55 -fsignaling-nans -pipe"
57 ./configure $CONFIGURE_ARGS &&
58 make $MAKEFLAGS &&
59 make install
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 mkdir -p $fs/usr/lib/wine
66 mkdir -p $fs/usr/share
68 cp -a $install/usr/bin $fs/usr
69 cp -a $install/usr/share/wine $fs/usr/share
70 cp -a $install/usr/share/applications $fs/usr/share
71 cp -a $install/usr/lib/lib* $fs/usr/lib
72 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
73 }
75 post_install()
76 {
77 [ "$1" ] || modprobe snd-seq 2>/dev/null
78 }