wok annotate ratpoison/receipt @ rev 19609
Up slitaz-boot-scripts (435), tazpkg (930)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 07 12:47:29 2017 +0100 (2017-01-07) |
parents | de49f29b101e |
children | c7002bc9b6c7 |
rev | line source |
---|---|
gokhlayeh@8341 | 1 # SliTaz package receipt. |
gokhlayeh@8341 | 2 |
gokhlayeh@8341 | 3 PACKAGE="ratpoison" |
gokhlayeh@8341 | 4 VERSION="1.4.5" |
gokhlayeh@8341 | 5 CATEGORY="x-window" |
gokhlayeh@8341 | 6 SHORT_DESC="Ratpoison is an extremely light-weightWM using only keyboard." |
gokhlayeh@8341 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
gokhlayeh@8341 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@8341 | 10 WEB_SITE="http://www.nongnu.org/ratpoison/" |
gokhlayeh@8341 | 11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" |
al@17501 | 12 TAGS="window-manager" |
gokhlayeh@8341 | 13 |
pascal@15600 | 14 DEPENDS="microperl xorg-libXtst xorg-libXinerama" |
pascal@15600 | 15 |
gokhlayeh@8341 | 16 # Rules to configure and make the package. |
gokhlayeh@8341 | 17 compile_rules() |
gokhlayeh@8341 | 18 { |
gokhlayeh@8341 | 19 cd $src |
gokhlayeh@8341 | 20 ./configure && make CFLAGS="$CFLAGS -DHAVE_GETLINE" && make install |
gokhlayeh@8341 | 21 } |
gokhlayeh@8341 | 22 |
gokhlayeh@8341 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8341 | 24 genpkg_rules() |
gokhlayeh@8341 | 25 { |
gokhlayeh@8341 | 26 mkdir -p $fs/usr/share |
pascal@15600 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15600 | 28 cp -a $install/usr/share/ratpoison $fs/usr/share |
gokhlayeh@8341 | 29 } |