wok-stable diff xlockmore/receipt @ rev 4688

Up: fpm2 (0.76.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 30 23:04:11 2009 +0100 (2009-12-30)
parents
children 413b0174114a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xlockmore/receipt	Wed Dec 30 23:04:11 2009 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xlockmore"
     1.7 +VERSION="5.28"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="X Window System Lock Screen."
    1.10 +MAINTAINER="rocky@slitaz.org"
    1.11 +DEPENDS="xorg-libX11 freetype"
    1.12 +BUILD_DEPENDS="xorg-libXdmcp-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXt-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.tux.org/~bagleyd/xlockmore.html"
    1.15 +WGET_URL="http://www.tux.org/~bagleyd/xlock/$PACKAGE-$VERSION/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +    cd $src
    1.21 +    ./configure --prefix=/usr \
    1.22 +        --infodir=/usr/share/info \
    1.23 +        --mandir=/usr/share/man \
    1.24 +        $CONFIGURE_ARGS &&
    1.25 +    make &&
    1.26 +    mkdir -p _pkg/usr/share/X11/app-defaults/ \
    1.27 +        _pkg/usr/bin
    1.28 +    cp -f xlock/xlock _pkg/usr/bin/
    1.29 +    cp -f xlock/XLock.ad _pkg/usr/share/X11/app-defaults/XLock
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +    mkdir -p $fs
    1.36 +    cp -a $_pkg/usr $fs
    1.37 +}
    1.38 +
    1.39 +post_install() 
    1.40 +{
    1.41 +    local root
    1.42 +    root=$1
    1.43 +    chmod u+s $root/usr/bin/xlock
    1.44 +}