wok-current annotate wine/receipt @ rev 1423
Fix CATEGORY in receipts
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 26 09:21:16 2008 +0000 (2008-09-26) |
parents | d2839dc258f4 |
children | f08ead2d5191 |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
pascal@925 | 4 VERSION="1.0" |
pascal@1423 | 5 CATEGORY="misc" |
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 |