wok-6.x annotate wine/receipt @ rev 1698
Fix: get-OpenOffice4 typo again!
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Nov 12 00:50:32 2008 +0100 (2008-11-12) |
parents | 03a799424aaa |
children | f9c021d9b2fc |
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@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 |