wok annotate vice/receipt @ rev 19984
Up tazusb (199)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 28 09:22:54 2017 +0200 (2017-06-28) |
parents | 98484136df50 |
children | 3705d68ed8f3 |
rev | line source |
---|---|
devl547@13769 | 1 # SliTaz package receipt. |
devl547@13769 | 2 |
devl547@13769 | 3 PACKAGE="vice" |
pascal@19721 | 4 VERSION="3.0" |
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/" |
pascal@19721 | 11 WGET_URL="$SF_MIRROR/vice-emu/files/releases/$TARBALL" |
devl547@13769 | 12 |
pascal@15216 | 13 DEPENDS="gtk+" |
pascal@19721 | 14 BUILD_DEPENDS="gtk+-dev xorg-bdftopcf xorg-mkfontdir" |
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 } |