wok-6.x annotate tintin++/receipt @ rev 11710
added tintin
author | toronado |
---|---|
date | Sun Feb 19 08:14:43 2012 -0800 (2012-02-19) |
parents | |
children | 63d0fd1d9018 |
rev | line source |
---|---|
toronado@11710 | 1 # SliTaz package receipt. |
toronado@11710 | 2 |
toronado@11710 | 3 PACKAGE="tintin++" |
toronado@11710 | 4 VERSION="2.00.8" |
toronado@11710 | 5 CATEGORY="games" |
toronado@11710 | 6 SHORT_DESC="Terminal-based MUD client" |
toronado@11710 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
toronado@11710 | 8 WEB_SITE="http://tintin.sourceforge.net" |
toronado@11710 | 9 TARBALL="tintin-$VERSION.tar.gz" |
toronado@11710 | 10 WGET_URL="http://sourceforge.net/projects/tintin/files/TinTin%2B%2B%20Source%20Code/$VERSION/$TARBALL" |
toronado@11710 | 11 |
toronado@11710 | 12 DEPENDS="pcre" |
toronado@11710 | 13 |
toronado@11710 | 14 # Rules to configure and make the package. |
toronado@11710 | 15 compile_rules() |
toronado@11710 | 16 { |
toronado@11710 | 17 cd $src/src |
toronado@11710 | 18 ./configure $CONFIGURE_ARGS && |
toronado@11710 | 19 make && |
toronado@11710 | 20 make install |
toronado@11710 | 21 } |
toronado@11710 | 22 |
toronado@11710 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
toronado@11710 | 24 genpkg_rules() |
toronado@11710 | 25 { |
toronado@11710 | 26 mkdir -p $fs/usr/share/applications \ |
toronado@11710 | 27 $fs/usr/share/pixmaps |
toronado@11710 | 28 cp stuff/tintin.desktop $fs/usr/share/applications |
toronado@11710 | 29 cp stuff/tintin.png $fs/usr/share/pixmaps |
toronado@11710 | 30 |
toronado@11710 | 31 cp -a $install/* $fs |
toronado@11710 | 32 |
toronado@11710 | 33 } |