wok-6.x view xlockmore/receipt @ rev 11888
Add xorg-xf86-video-fbdev (Xorg drive fro frame buffer devices)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 28 14:38:57 2012 +0100 (2012-02-28) |
parents | c74e83c2d425 |
children | 241d1ef6b989 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xlockmore"
4 VERSION="5.38"
5 CATEGORY="utilities"
6 SHORT_DESC="X Window System Lock Screen."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="xorg-libX11 freetype freetype1"
9 BUILD_DEPENDS="xorg-libXdmcp-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.tux.org/~bagleyd/xlockmore.html"
12 WGET_URL="http://www.tux.org/~bagleyd/xlock/$PACKAGE-$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 mkdir -p $DESTDIR/usr/share/X11/app-defaults/ \
24 $DESTDIR/usr/bin
25 cp -f xlock/xlock $DESTDIR/usr/bin/
26 cp -f xlock/XLock.ad $DESTDIR/usr/share/X11/app-defaults/XLock
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs
33 cp -a $_pkg/usr $fs
35 mkdir -p $fs/usr/share/applications \
36 $fs/usr/share/pixmaps
37 cp -a $stuff/xlock.desktop $fs/usr/share/applications
38 cp -a $stuff/xlockmore.png $fs/usr/share/pixmaps
39 }
41 post_install()
42 {
43 local root
44 root=$1
45 chmod u+s $root/usr/bin/xlock
46 }