# HG changeset patch # User Pascal Bellard # Date 1213785244 0 # Node ID d2839dc258f4a10a8296acc76ae2d66e62d9171e # Parent 9b373cb2508567b069e903b7694e3eb59375a8ce Add wine, wine-dev diff -r 9b373cb25085 -r d2839dc258f4 wine-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wine-dev/receipt Wed Jun 18 10:34:04 2008 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="wine-dev" +VERSION="1.0" +CATEGORY="system-tools" +SHORT_DESC="Windows API for Linux development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.winehq.org/" +WANTED="wine" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/wine + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/wine/*.a $fs/usr/lib/wine + cp -a $_pkg/usr/lib/wine/*.def $fs/usr/lib/wine + cp -a $_pkg/usr/lib/wine/*.dll16 $fs/usr/lib/wine +} + diff -r 9b373cb25085 -r d2839dc258f4 wine/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wine/receipt Wed Jun 18 10:34:04 2008 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="wine" +VERSION="1.0" +CATEGORY="extra" +SHORT_DESC="Windows API for Linux." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.winehq.org/" +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/wine $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/wine $fs/usr/share + cp -a $_pkg/usr/share/applications $fs/usr/share + cp -a $_pkg/usr/share/aclocal $fs/usr/share + cp -a $_pkg/usr/lib/lib* $fs/usr/lib + cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine +} +