wok-stable annotate wine/receipt @ rev 9244
Add glibc-locale to abiword depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 12 17:16:42 2011 +0000 (2011-03-12) |
parents | f3c1a01dae12 |
children | deb7bc24ae34 |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
slaxemulator@7506 | 4 VERSION="1.2.2" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@925 | 6 SHORT_DESC="Windows API for Linux." |
pascal@925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@6970 | 8 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-libICE xorg-libSM |
pascal@5007 | 9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext libgphoto2 libtool lcms \ |
slaxemulator@8961 | 10 esound freetype" |
slaxemulator@8961 | 11 BUILD_DEPENDS="flex bison mesa-dev freetype-dev" |
pascal@925 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@925 | 13 WEB_SITE="http://www.winehq.org/" |
pascal@925 | 14 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL" |
jozee@4976 | 15 TAGS="windows" |
pascal@925 | 16 |
pascal@925 | 17 # Rules to configure and make the package. |
pascal@925 | 18 compile_rules() |
pascal@925 | 19 { |
pascal@925 | 20 cd $src |
erjo@5936 | 21 |
pascal@8974 | 22 patch -p1 < $stuff/wine-1.2-cdrom.c.u || return 1 |
erjo@5936 | 23 |
pascal@925 | 24 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1460 | 25 --mandir=/usr/share/man $CONFIGURE_ARGS && |
slaxemulator@6647 | 26 make -j 4 && |
pascal@925 | 27 make DESTDIR=$PWD/_pkg install |
pascal@925 | 28 } |
pascal@925 | 29 |
pascal@925 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@925 | 31 genpkg_rules() |
pascal@925 | 32 { |
pascal@925 | 33 mkdir -p $fs/usr/lib/wine $fs/usr/share |
pascal@925 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@925 | 35 cp -a $_pkg/usr/share/wine $fs/usr/share |
pascal@925 | 36 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@925 | 37 cp -a $_pkg/usr/lib/lib* $fs/usr/lib |
pascal@925 | 38 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine |
pascal@925 | 39 } |
pascal@925 | 40 |
pankso@4259 | 41 post_install() |
pankso@4259 | 42 { |
pankso@4259 | 43 modprobe snd-seq 2>/dev/null |
pankso@4259 | 44 } |