wok-6.x annotate wine/receipt @ rev 18301
Add python-pyserial
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 17:36:24 2015 +0200 (2015-08-18) |
parents | 7184ec55b1aa |
children | 9e01bc6321ea |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
devl547@16272 | 4 VERSION="1.7.16" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@925 | 6 SHORT_DESC="Windows API for Linux." |
pascal@925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
pascal@925 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@925 | 10 WEB_SITE="http://www.winehq.org/" |
slaxemulator@10227 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14528 | 12 TAGS="windows emulator" # wine is not an emulator |
pascal@925 | 13 |
psychomaniak@18227 | 14 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype" |
pankso@12161 | 15 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \ |
pascal@16536 | 16 libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink \ |
pascal@16537 | 17 jpeg-dev libpng-dev libv4l-dev gnutls-dev libgphoto2-dev cups-dev dbus-dev" |
pankso@12161 | 18 |
pascal@925 | 19 # Rules to configure and make the package. |
pascal@925 | 20 compile_rules() |
pascal@925 | 21 { |
pascal@925 | 22 cd $src |
erjo@5936 | 23 |
slaxemulator@10227 | 24 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11574 | 25 make $MAKEFLAGS && make install |
pascal@925 | 26 } |
pascal@925 | 27 |
pascal@925 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@925 | 29 genpkg_rules() |
pascal@925 | 30 { |
mojo@14724 | 31 mkdir -p $fs/usr/share |
pascal@13375 | 32 cp -a $install/usr/bin $fs/usr |
mojo@14724 | 33 cp -a $install/usr/lib $fs/usr |
pascal@13375 | 34 cp -a $install/usr/share/wine $fs/usr/share |
pascal@925 | 35 } |
pascal@925 | 36 |
pankso@4259 | 37 post_install() |
pankso@4259 | 38 { |
pascal@17552 | 39 [ "$1" ] || modprobe snd-seq 2>/dev/null |
psychomaniak@18227 | 40 |
psychomaniak@18227 | 41 # Enable unicode filenames and localized keyboard layouts input |
psychomaniak@18227 | 42 . $1/etc/locale.conf |
psychomaniak@18227 | 43 case $LANG in |
psychomaniak@18234 | 44 (C|POSIX|*UTF-8) echo $LANG - skip modifying /etc/locale.conf ;; |
psychomaniak@18227 | 45 (*) |
psychomaniak@18227 | 46 echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf" |
psychomaniak@18227 | 47 echo "Restart/ReLogin required." |
psychomaniak@18227 | 48 sed -i 's/$/&.UTF-8/' $1/etc/locale.conf ;; |
psychomaniak@18227 | 49 esac |
pankso@4259 | 50 } |