wok-next annotate mp/receipt @ rev 3208
added mp a text editor for programmer
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 12:14:04 2009 +0000 (2009-05-28) |
parents | |
children | bae029d27902 |
rev | line source |
---|---|
allan316@3208 | 1 # SliTaz package receipt. |
allan316@3208 | 2 |
allan316@3208 | 3 PACKAGE="mp" |
allan316@3208 | 4 VERSION="5.1.0-rc1" |
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" |
allan316@3208 | 11 WGET_URL="$WEB_SITE/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 |