wok-current view wine/receipt @ rev 1672
Add perl-io-scalar
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:57:03 2008 +0000 (2008-11-08) |
parents | 03a799424aaa |
children | f9c021d9b2fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="flex xorg-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.winehq.org/"
11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/wine $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/wine $fs/usr/share
30 cp -a $_pkg/usr/share/applications $fs/usr/share
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
33 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
34 }