wok-next annotate mp/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 262dccc5e3ed |
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" |
al@21020 | 9 WEB_SITE="http://triptico.com/software/mp.html" |
al@21020 | 10 |
allan316@3208 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@18537 | 12 WGET_URL="http://triptico.com/download/mp/$TARBALL" |
allan316@3208 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev" |
pascal@15353 | 15 |
al@21020 | 16 compile_rules() { |
al@21020 | 17 mkdir -p $install/usr/bin |
psychomaniak@18537 | 18 # sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c |
pankso@4829 | 19 ./config.sh \ |
pankso@4829 | 20 --prefix=/usr \ |
pankso@4829 | 21 --without-qt4 \ |
pankso@4829 | 22 $CONFIGURE_ARGS |
al@21020 | 23 make && |
al@21020 | 24 make DESTDIR=$install install |
allan316@3208 | 25 } |
allan316@3208 | 26 |
al@21020 | 27 genpkg_rules() { |
allan316@3208 | 28 mkdir -p $fs/usr/share |
pascal@15353 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15353 | 30 cp -a $install/usr/share/mp-5 $fs/usr/share |
al@21020 | 31 DEPENDS="gtk2" |
al@21020 | 32 TAGS="text-editor" |
allan316@3208 | 33 } |