wok-current annotate mp/receipt @ rev 16542
slitaz-menus: add Arabic translations (from xfce & lxde)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 29 09:40:24 2014 +0000 (2014-04-29) |
parents | f666056b4ad7 |
children | 5d53e8ccbc8d |
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" |
allan316@3208 | 12 |
pascal@15353 | 13 DEPENDS="gtk+" |
pascal@15353 | 14 |
allan316@3208 | 15 # Rules to configure and make the package. |
allan316@3208 | 16 compile_rules() |
allan316@3208 | 17 { |
allan316@3208 | 18 cd $src |
pascal@15353 | 19 mkdir -p $DESTDIR/usr/bin |
pascal@15353 | 20 sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c |
pankso@4829 | 21 ./config.sh \ |
pankso@4829 | 22 --prefix=/usr \ |
pankso@4829 | 23 --without-qt4 \ |
pankso@4829 | 24 $CONFIGURE_ARGS |
pascal@15353 | 25 make && make DESTDIR=$DESTDIR install |
allan316@3208 | 26 } |
allan316@3208 | 27 |
allan316@3208 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3208 | 29 genpkg_rules() |
allan316@3208 | 30 { |
allan316@3208 | 31 mkdir -p $fs/usr/share |
pascal@15353 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15353 | 33 cp -a $install/usr/share/mp-5 $fs/usr/share |
allan316@3208 | 34 } |