wok-6.x annotate vice/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-07) |
parents | b0c60d808e5c |
children | 986db52247ee |
rev | line source |
---|---|
devl547@13769 | 1 # SliTaz package receipt. |
devl547@13769 | 2 |
devl547@13769 | 3 PACKAGE="vice" |
devl547@13769 | 4 VERSION="2.2" |
devl547@13769 | 5 CATEGORY="games" |
devl547@13769 | 6 SHORT_DESC="Commodore 64 and others emulator." |
devl547@13769 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15216 | 8 LICENSE="GPL2" |
devl547@13769 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@13769 | 10 WEB_SITE="http://www.viceteam.org/" |
devl547@13769 | 11 WGET_URL="http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/$TARBALL" |
devl547@13769 | 12 |
pascal@15216 | 13 DEPENDS="gtk+" |
pascal@15216 | 14 BUILD_DEPENDS="gtk+-dev" |
pascal@15216 | 15 |
devl547@13769 | 16 # Rules to configure and make the package. |
devl547@13769 | 17 compile_rules() |
devl547@13769 | 18 { |
devl547@13769 | 19 cd $src |
pascal@15285 | 20 sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.* |
devl547@13769 | 21 ./configure \ |
devl547@13769 | 22 --prefix=/usr \ |
devl547@13769 | 23 --enable-gnomeui \ |
devl547@13769 | 24 --enable-memmap \ |
devl547@13769 | 25 $CONFIGURE_ARGS && |
devl547@13769 | 26 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
devl547@13769 | 27 } |
devl547@13769 | 28 |
devl547@13769 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@13769 | 30 genpkg_rules() |
devl547@13769 | 31 { |
devl547@13769 | 32 mkdir -p $fs/usr/ |
devl547@13769 | 33 cp -a $install/usr/bin $fs/usr/ |
devl547@13769 | 34 cp -a $install/usr/lib $fs/usr/ |
devl547@13769 | 35 } |