wok-6.x annotate mp/receipt @ rev 8195
imported patch toolchain/libtool.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | bae029d27902 |
children | 2bcf0c62df40 |
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" |
pankso@4829 | 8 DEPENDS="gtk+" |
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 |
allan316@3208 | 13 # Rules to configure and make the package. |
allan316@3208 | 14 compile_rules() |
allan316@3208 | 15 { |
allan316@3208 | 16 cd $src |
allan316@3208 | 17 mkdir -p $PWD/_pkg/usr/bin |
pankso@4829 | 18 ./config.sh \ |
pankso@4829 | 19 --prefix=/usr \ |
pankso@4829 | 20 --without-qt4 \ |
pankso@4829 | 21 $CONFIGURE_ARGS |
pankso@4829 | 22 make && make DESTDIR=$PWD/_pkg install |
allan316@3208 | 23 } |
allan316@3208 | 24 |
allan316@3208 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3208 | 26 genpkg_rules() |
allan316@3208 | 27 { |
allan316@3208 | 28 mkdir -p $fs/usr/share |
allan316@3208 | 29 cp -a $_pkg/usr/bin $fs/usr |
allan316@3208 | 30 cp -a $_pkg/usr/share/mp-5 $fs/usr/share |
allan316@3208 | 31 } |