wok view joe/receipt @ rev 10840

xlogo: Fixed source variable. Fixed also for purging sources.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jun 09 11:52:00 2011 +0000 (2011-06-09)
parents
children 1521467452aa
line source
1 #Slitaz package receipt
3 PACKAGE="joe"
4 VERSION="3.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Joe's Own editor is a fully featured terminal based screen editor"
7 MANTAINER="threarth@yahoo.it"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://joe-editor.sourceforge.net/"
10 WGET_URL="http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/$PACKAGE-$VERSION/$PACKAGE-$VERSION.tar.gz"
12 DEPENDS="ncurses"
13 BUILD_DEPENDS="ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --sysconfdir=/etc &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/etc/joe $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/etc/ $fs
29 cp -a $_pkg/usr/share/joe $fs/usr/share
30 }