wok-next annotate xorg-xeyes/receipt @ rev 15207
Add mktorrent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 12:15:52 2013 +0000 (2013-09-10) |
parents | bf4417b54ba9 |
children | eb8067417980 |
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@11203 | 8 SOURCE="xeyes" |
pascal@11203 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@11203 | 10 WEB_SITE="http://xorg.freedesktop.org/" |
pascal@11203 | 11 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
gokhlayeh@11472 | 12 DEPENDS="xorg-libX11 xorg-libXt xorg-libXext xorg-libXmu xorg-libXrender" |
pascal@11203 | 13 |
pascal@11203 | 14 # Rules to configure and make the package. |
pascal@11203 | 15 compile_rules() |
pascal@11203 | 16 { |
pascal@11203 | 17 cd $src |
pascal@11203 | 18 ./configure \ |
pascal@11203 | 19 --prefix=/usr \ |
pascal@11203 | 20 --mandir=/usr/share/man \ |
pascal@11203 | 21 $CONFIGURE_ARGS && |
pascal@11203 | 22 make && |
pascal@11203 | 23 make DESTDIR=$DESTDIR install |
pascal@11203 | 24 } |
pascal@11203 | 25 |
pascal@11203 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 27 genpkg_rules() |
pascal@11203 | 28 { |
pascal@11203 | 29 mkdir -p $fs/usr |
pascal@11203 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@11203 | 31 chmod +x $fs/usr/bin/* |
pascal@11203 | 32 } |
pascal@11203 | 33 |