wok rev 925

Add wine, wine-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 18 10:34:04 2008 +0000 (2008-06-18)
parents 9b373cb25085
children 454fb9f10166
files wine-dev/receipt wine/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wine-dev/receipt	Wed Jun 18 10:34:04 2008 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wine-dev"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Windows API for Linux development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.winehq.org/"
    1.12 +WANTED="wine"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/wine
    1.18 +	cp -a $_pkg/usr/include $fs/usr
    1.19 +	cp -a $_pkg/usr/lib/wine/*.a $fs/usr/lib/wine
    1.20 +	cp -a $_pkg/usr/lib/wine/*.def $fs/usr/lib/wine
    1.21 +	cp -a $_pkg/usr/lib/wine/*.dll16 $fs/usr/lib/wine
    1.22 +}
    1.23 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/wine/receipt	Wed Jun 18 10:34:04 2008 +0000
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="wine"
     2.7 +VERSION="1.0"
     2.8 +CATEGORY="extra"
     2.9 +SHORT_DESC="Windows API for Linux."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12 +WEB_SITE="http://www.winehq.org/"
    2.13 +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.22 +	make
    2.23 +	make DESTDIR=$PWD/_pkg install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib/wine $fs/usr/share
    2.30 +	cp -a $_pkg/usr/bin $fs/usr
    2.31 +	cp -a $_pkg/usr/share/wine $fs/usr/share
    2.32 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    2.33 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    2.34 +	cp -a $_pkg/usr/lib/lib* $fs/usr/lib
    2.35 +	cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
    2.36 +}
    2.37 +