wok-6.x view unclutter/receipt @ rev 21233
updated libhtp and libhtp-dev again (0.2.6 -> 0.5.30)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 13:40:55 2019 +0100 (2019-04-11) |
parents | 7813bc699d9a |
children | 25f8eb393142 |
line source
1 # SliTaz package receipt.
3 PACKAGE="unclutter"
4 VERSION="8-20"
5 CATEGORY="x-window"
6 SHORT_DESC="Hides the mouse cursor in X after a period of inactivity"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://packages.debian.org/sid/unclutter"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8.orig.tar.gz"
12 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8-20.debian.tar.gz"
13 PATCH="$(basename $PATCH_URL)"
14 EXTRA_SOURCE_FILES="$PATCH"
16 DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 if [ ! -f "$SRC/$PATCH)" ]; then
23 busybox wget -O "$SRC/$PATCH" "$PATCH_URL"
24 fi
26 mkdir $src/patch
27 tar -xzf $SRC/$PATCH -C $src/patch
29 while read patchfile; do
30 patch -p1 -i $src/patch/debian/patches/$patchfile
31 done < $src/patch/debian/patches/series
33 make && make install
34 mkdir -p $install/usr/share/man/man1
35 install -m0644 $src/unclutter.man $install/usr/share/man/man1/unclutter.1
36 gzip -9 $install/usr/share/man/man1/unclutter.1
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }