wok-6.x annotate mp/receipt @ rev 17501

Normalize tags "file-manager", "web-browser", "text-editor", "terminal", and "window-manager" according to tazx.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 08 02:04:05 2015 +0200 (2015-01-08)
parents 2bcf0c62df40
children 3ce7127900b0
rev   line source
allan316@3208 1 # SliTaz package receipt.
allan316@3208 2
allan316@3208 3 PACKAGE="mp"
pankso@4829 4 VERSION="5.1.3"
allan316@3208 5 CATEGORY="development"
allan316@3208 6 SHORT_DESC="A text editor for programmers"
allan316@3208 7 MAINTAINER="allan316@gmail.com"
pascal@15353 8 LICENSE="GPL2"
allan316@3208 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3208 10 WEB_SITE="http://triptico.com/software/mp.html"
pascal@3220 11 WGET_URL="http://triptico.com/download/$TARBALL"
al@17501 12 TAGS="text-editor"
allan316@3208 13
pascal@15353 14 DEPENDS="gtk+"
pascal@15353 15
allan316@3208 16 # Rules to configure and make the package.
allan316@3208 17 compile_rules()
allan316@3208 18 {
allan316@3208 19 cd $src
pascal@15353 20 mkdir -p $DESTDIR/usr/bin
pascal@15353 21 sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
pankso@4829 22 ./config.sh \
pankso@4829 23 --prefix=/usr \
pankso@4829 24 --without-qt4 \
pankso@4829 25 $CONFIGURE_ARGS
pascal@15353 26 make && make DESTDIR=$DESTDIR install
allan316@3208 27 }
allan316@3208 28
allan316@3208 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3208 30 genpkg_rules()
allan316@3208 31 {
allan316@3208 32 mkdir -p $fs/usr/share
pascal@15353 33 cp -a $install/usr/bin $fs/usr
pascal@15353 34 cp -a $install/usr/share/mp-5 $fs/usr/share
allan316@3208 35 }