wok-stable view wine/receipt @ rev 1147
mysql: init database in /etc/init.d/mysql, not post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 26 13:40:35 2008 +0000 (2008-07-26) |
parents | |
children | 03a799424aaa |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.0"
5 CATEGORY="extra"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.winehq.org/"
10 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/wine $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/wine $fs/usr/share
29 cp -a $_pkg/usr/share/applications $fs/usr/share
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
32 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
33 }