wok-4.x annotate wine/receipt @ rev 2200
Add atm-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 17:26:49 2009 +0000 (2009-02-09) |
parents | f08ead2d5191 |
children | 4b295d830ae7 |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
erjo@1851 | 4 VERSION="1.0.1" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@925 | 6 SHORT_DESC="Windows API for Linux." |
pascal@925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1460 | 8 BUILD_DEPENDS="flex xorg-dev" |
pascal@925 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@925 | 10 WEB_SITE="http://www.winehq.org/" |
pascal@925 | 11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@925 | 12 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL" |
pascal@925 | 13 |
pascal@925 | 14 # Rules to configure and make the package. |
pascal@925 | 15 compile_rules() |
pascal@925 | 16 { |
pascal@925 | 17 cd $src |
pascal@925 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1460 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1460 | 20 make && |
pascal@925 | 21 make DESTDIR=$PWD/_pkg install |
pascal@925 | 22 } |
pascal@925 | 23 |
pascal@925 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@925 | 25 genpkg_rules() |
pascal@925 | 26 { |
pascal@925 | 27 mkdir -p $fs/usr/lib/wine $fs/usr/share |
pascal@925 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@925 | 29 cp -a $_pkg/usr/share/wine $fs/usr/share |
pascal@925 | 30 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@925 | 31 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pascal@925 | 32 cp -a $_pkg/usr/lib/lib* $fs/usr/lib |
pascal@925 | 33 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine |
pascal@925 | 34 } |
pascal@925 | 35 |