wok-current annotate mp/receipt @ rev 3307
Up: libxcb (1.3) libxcb-dev (1.3)
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Sat Jun 06 20:16:28 2009 +0200 (2009-06-06) |
parents | 748379a5331b |
children | f666056b4ad7 |
rev | line source |
---|---|
allan316@3208 | 1 # SliTaz package receipt. |
allan316@3208 | 2 |
allan316@3208 | 3 PACKAGE="mp" |
pascal@3220 | 4 VERSION="5.1.2" |
allan316@3208 | 5 CATEGORY="development" |
allan316@3208 | 6 SHORT_DESC="A text editor for programmers" |
allan316@3208 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3208 | 8 DEPENDS="" |
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 |
allan316@3208 | 18 ./config.sh --prefix=/usr --infodir=/usr/share/info \ |
allan316@3208 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
allan316@3208 | 20 make |
allan316@3208 | 21 make DESTDIR=$PWD/_pkg install |
allan316@3208 | 22 } |
allan316@3208 | 23 |
allan316@3208 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3208 | 25 genpkg_rules() |
allan316@3208 | 26 { |
allan316@3208 | 27 mkdir -p $fs/usr/share |
allan316@3208 | 28 cp -a $_pkg/usr/bin $fs/usr |
allan316@3208 | 29 cp -a $_pkg/usr/share/mp-5 $fs/usr/share |
allan316@3208 | 30 strip -s $fs/usr/bin/* |
allan316@3208 | 31 } |
allan316@3208 | 32 |