wok-current annotate unclutter/receipt @ rev 23065

miro: update for ffmpeg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 09 18:50:16 2020 +0100 (2020-03-09)
parents 25f8eb393142
children b78e79c31b1f
rev   line source
al@18872 1 # SliTaz package receipt.
al@18872 2
al@18872 3 PACKAGE="unclutter"
pascal@23065 4 VERSION="8"
pascal@23065 5 PATCHLEVEL="20"
al@18872 6 CATEGORY="x-window"
al@18872 7 SHORT_DESC="Hides the mouse cursor in X after a period of inactivity"
al@18872 8 MAINTAINER="al.bobylev@gmail.com"
al@18872 9 LICENSE="PublicDomain"
al@18872 10 WEB_SITE="https://packages.debian.org/sid/unclutter"
pascal@23065 11 TARBALL="$PACKAGE-${VERSION}_$PATCHLEVEL.tar.gz"
pascal@23065 12 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_$VERSION.orig.tar.gz"
pascal@23065 13 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_${VERSION}-$PATCHLEVEL.debian.tar.gz"
al@18872 14 PATCH="$(basename $PATCH_URL)"
pascal@18930 15 EXTRA_SOURCE_FILES="$PATCH"
al@18872 16
al@18872 17 DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
al@18872 18 BUILD_DEPENDS=""
al@18872 19
al@18872 20 # Rules to configure and make the package.
al@18872 21 compile_rules()
al@18872 22 {
al@18872 23 if [ ! -f "$SRC/$PATCH)" ]; then
al@18872 24 busybox wget -O "$SRC/$PATCH" "$PATCH_URL"
al@18872 25 fi
al@18872 26
al@18872 27 mkdir $src/patch
al@18872 28 tar -xzf $SRC/$PATCH -C $src/patch
al@18872 29
al@18872 30 while read patchfile; do
al@18872 31 patch -p1 -i $src/patch/debian/patches/$patchfile
al@18872 32 done < $src/patch/debian/patches/series
al@18872 33
al@18872 34 make && make install
al@18872 35 mkdir -p $install/usr/share/man/man1
al@18872 36 install -m0644 $src/unclutter.man $install/usr/share/man/man1/unclutter.1
al@18872 37 gzip -9 $install/usr/share/man/man1/unclutter.1
al@18872 38 }
al@18872 39
al@18872 40 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18872 41 genpkg_rules()
al@18872 42 {
al@18872 43 cp -a $install/* $fs
al@18872 44 }