wok-next annotate mp/receipt @ rev 19532
suplemon: tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 29 15:32:40 2016 +0200 (2016-11-29) |
parents | 28f9e4343450 |
children | f48456621a9d |
rev | line source |
---|---|
allan316@3208 | 1 # SliTaz package receipt. |
allan316@3208 | 2 |
allan316@3208 | 3 PACKAGE="mp" |
psychomaniak@18537 | 4 VERSION="5.2.10" |
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" |
psychomaniak@18537 | 11 WGET_URL="http://triptico.com/download/mp/$TARBALL" |
al@17501 | 12 TAGS="text-editor" |
allan316@3208 | 13 |
pascal@15353 | 14 DEPENDS="gtk+" |
pascal@17675 | 15 BUILD_DEPENDS="gtk+-dev" |
pascal@15353 | 16 |
allan316@3208 | 17 # Rules to configure and make the package. |
allan316@3208 | 18 compile_rules() |
allan316@3208 | 19 { |
pascal@15353 | 20 mkdir -p $DESTDIR/usr/bin |
psychomaniak@18537 | 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 } |