wok-6.x view ratpoison/receipt @ rev 9097
py3k-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 21:49:02 2011 +0100 (2011-03-04) |
parents | |
children | de49f29b101e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ratpoison"
4 VERSION="1.4.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Ratpoison is an extremely light-weightWM using only keyboard."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="microperl xorg-libXtst xorg-libXinerama"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nongnu.org/ratpoison/"
11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure && make CFLAGS="$CFLAGS -DHAVE_GETLINE" && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share
24 cp -a $_pkg/usr/bin $fs/usr
25 cp -a $_pkg/usr/share/ratpoison $fs/usr/share
26 }