wok-next annotate xlockmore/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
rocky@3627 | 2 |
rocky@3627 | 3 PACKAGE="xlockmore" |
samuel_trassare@13397 | 4 VERSION="5.40" |
rocky@3627 | 5 CATEGORY="utilities" |
al@21020 | 6 SHORT_DESC="X Window System Lock Screen" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
al@21020 | 9 WEB_SITE="http://sillycycle.com/xlockmore.html" |
al@21020 | 10 |
rocky@3627 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20909 | 12 WGET_URL="https://www.tux.org/~bagleyd/xlock/$PACKAGE-$VERSION/$TARBALL" # FIXME |
rocky@3627 | 13 |
al@21078 | 14 BUILD_DEPENDS="libxdmcp-dev libxpm-dev libx11-dev \ |
al@21078 | 15 libxt-dev libxext-dev" |
pascal@15601 | 16 |
al@21020 | 17 compile_rules() { |
al@21020 | 18 ./configure \ |
al@21020 | 19 --prefix=/usr \ |
al@21020 | 20 --infodir=/usr/share/info \ |
al@21020 | 21 --mandir=/usr/share/man \ |
al@21020 | 22 $CONFIGURE_ARGS && |
al@21020 | 23 make || return 1 |
al@21020 | 24 |
al@21020 | 25 mkdir -p $install/usr/share/X11/app-defaults/ \ |
al@21020 | 26 $install/usr/bin |
al@21020 | 27 cp -f xlock/xlock $install/usr/bin/ |
al@21020 | 28 cp -f xlock/XLock.ad $install/usr/share/X11/app-defaults/XLock |
rocky@3627 | 29 } |
rocky@3627 | 30 |
al@21020 | 31 genpkg_rules() { |
al@21020 | 32 copy @std |
al@21078 | 33 DEPENDS="libx11 freetype freetype1" |
rocky@3627 | 34 } |
rocky@3627 | 35 |
al@21020 | 36 post_install() { |
al@21020 | 37 chmod u+s "$1/usr/bin/xlock" |
rocky@3627 | 38 } |