wok-6.x annotate wine/receipt @ rev 22875

updated gphoto2 (2.5.14 -> 2.5.23)
author Hans-G?nter Theisgen
date Fri Feb 21 17:50:13 2020 +0100 (2020-02-21)
parents c42b4a58182a
children ee1d44476432
rev   line source
pascal@925 1 # SliTaz package receipt.
pascal@925 2
pascal@925 3 PACKAGE="wine"
Hans-G?nter@22132 4 VERSION="4.0.2"
pascal@1423 5 CATEGORY="misc"
Hans-G?nter@22132 6 TAGS="windows emulator" # wine is not an emulator
pascal@925 7 SHORT_DESC="Windows API for Linux."
pascal@925 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 9 LICENSE="LGPL2.1"
Hans-G?nter@22132 10 WEB_SITE="https://www.winehq.org/"
Hans-G?nter@22132 11
devl547@19886 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22132 13 WGET_URL="https://dl.winehq.org/$PACKAGE/source/${VERSION%.*}/$TARBALL"
pascal@925 14
Hans-G?nter@22132 15 DEPENDS="alsa-lib freetype lcms libglu-mesa libxml2 libxslt mesa"
Hans-G?nter@22132 16 BUILD_DEPENDS="alsa-lib-dev bison cups-dev dbus-dev flex freetype-dev
Hans-G?nter@22132 17 gnutls-dev jpeg-dev lcms-dev libglu-mesa-dev libgphoto2-dev
Hans-G?nter@22132 18 libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev
Hans-G?nter@22132 19 mesa-dev prelink"
pankso@12161 20
pascal@925 21 # Rules to configure and make the package.
pascal@925 22 compile_rules()
pascal@925 23 {
slaxemulator@10227 24 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22132 25 make $MAKEFLAGS &&
Hans-G?nter@22132 26 make install
pascal@925 27 }
pascal@925 28
pascal@925 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@925 30 genpkg_rules()
pascal@925 31 {
mojo@14724 32 mkdir -p $fs/usr/share
Hans-G?nter@22132 33 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22132 34 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22132 35 cp -a $install/usr/share/wine $fs/usr/share
pascal@925 36 }
pascal@925 37
pankso@4259 38 post_install()
pankso@4259 39 {
pascal@17552 40 [ "$1" ] || modprobe snd-seq 2>/dev/null
psychomaniak@18227 41
psychomaniak@18227 42 # Enable unicode filenames and localized keyboard layouts input
pascal@18730 43 . "$1/etc/locale.conf"
psychomaniak@18227 44 case $LANG in
Hans-G?nter@22132 45 (C|POSIX|*UTF-8)
Hans-G?nter@22132 46 echo $LANG - skip modifying /etc/locale.conf ;;
psychomaniak@18227 47 (*)
Hans-G?nter@22132 48 echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf"
Hans-G?nter@22132 49 echo "Restart/ReLogin required."
Hans-G?nter@22132 50 sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;;
psychomaniak@18227 51 esac
pankso@4259 52 }