wok annotate ratpoison/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
parents | 609cb34ed0ce |
children | 5d53e8ccbc8d |
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" |
gokhlayeh@8341 | 12 |
pascal@15600 | 13 DEPENDS="microperl xorg-libXtst xorg-libXinerama" |
pascal@15600 | 14 |
gokhlayeh@8341 | 15 # Rules to configure and make the package. |
gokhlayeh@8341 | 16 compile_rules() |
gokhlayeh@8341 | 17 { |
gokhlayeh@8341 | 18 cd $src |
gokhlayeh@8341 | 19 ./configure && make CFLAGS="$CFLAGS -DHAVE_GETLINE" && make install |
gokhlayeh@8341 | 20 } |
gokhlayeh@8341 | 21 |
gokhlayeh@8341 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8341 | 23 genpkg_rules() |
gokhlayeh@8341 | 24 { |
gokhlayeh@8341 | 25 mkdir -p $fs/usr/share |
pascal@15600 | 26 cp -a $install/usr/bin $fs/usr |
pascal@15600 | 27 cp -a $install/usr/share/ratpoison $fs/usr/share |
gokhlayeh@8341 | 28 } |