wok annotate wine/receipt @ rev 1090

slim: chown all file to root
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jul 16 21:47:54 2008 +0200 (2008-07-16)
parents
children 03a799424aaa
rev   line source
pascal@925 1 # SliTaz package receipt.
pascal@925 2
pascal@925 3 PACKAGE="wine"
pascal@925 4 VERSION="1.0"
pascal@925 5 CATEGORY="extra"
pascal@925 6 SHORT_DESC="Windows API for Linux."
pascal@925 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@925 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@925 9 WEB_SITE="http://www.winehq.org/"
pascal@925 10 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@925 11 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
pascal@925 12
pascal@925 13 # Rules to configure and make the package.
pascal@925 14 compile_rules()
pascal@925 15 {
pascal@925 16 cd $src
pascal@925 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@925 18 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@925 19 make
pascal@925 20 make DESTDIR=$PWD/_pkg install
pascal@925 21 }
pascal@925 22
pascal@925 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@925 24 genpkg_rules()
pascal@925 25 {
pascal@925 26 mkdir -p $fs/usr/lib/wine $fs/usr/share
pascal@925 27 cp -a $_pkg/usr/bin $fs/usr
pascal@925 28 cp -a $_pkg/usr/share/wine $fs/usr/share
pascal@925 29 cp -a $_pkg/usr/share/applications $fs/usr/share
pascal@925 30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
pascal@925 31 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
pascal@925 32 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
pascal@925 33 }
pascal@925 34