wok-6.x annotate xorg-xeyes/receipt @ rev 19989
Add knot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 02 18:38:44 2017 +0200 (2017-07-02) |
parents | cdbed34d7189 |
children | 682b8a3cc16a |
rev | line source |
---|---|
pascal@11203 | 1 # SliTaz package receipt. |
pascal@11203 | 2 |
pascal@11203 | 3 PACKAGE="xorg-xeyes" |
pascal@11203 | 4 VERSION="1.1.1" |
pascal@11203 | 5 CATEGORY="x-window" |
pascal@11203 | 6 SHORT_DESC="A follow the mouse X demo." |
pascal@11203 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pascal@11203 | 9 SOURCE="xeyes" |
pascal@11203 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@11203 | 11 WEB_SITE="http://xorg.freedesktop.org/" |
pascal@11203 | 12 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
pascal@15579 | 13 |
gokhlayeh@11472 | 14 DEPENDS="xorg-libX11 xorg-libXt xorg-libXext xorg-libXmu xorg-libXrender" |
pascal@11203 | 15 |
pascal@11203 | 16 # Rules to configure and make the package. |
pascal@11203 | 17 compile_rules() |
pascal@11203 | 18 { |
pascal@11203 | 19 cd $src |
pascal@11203 | 20 ./configure \ |
pascal@11203 | 21 --prefix=/usr \ |
pascal@11203 | 22 --mandir=/usr/share/man \ |
pascal@11203 | 23 $CONFIGURE_ARGS && |
pascal@11203 | 24 make && |
pascal@11203 | 25 make DESTDIR=$DESTDIR install |
pascal@11203 | 26 } |
pascal@11203 | 27 |
pascal@11203 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 29 genpkg_rules() |
pascal@11203 | 30 { |
pascal@11203 | 31 mkdir -p $fs/usr |
pascal@15579 | 32 cp -a $install/usr/bin $fs/usr |
pascal@11203 | 33 chmod +x $fs/usr/bin/* |
pascal@11203 | 34 } |
pascal@11203 | 35 |