Receipt for package "xsuspend"
# SliTaz package receipt. PACKAGE="xsuspend" VERSION="1.3" CATEGORY="x-window" SHORT_DESC="Auto-suspend inactive X11 applications" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://kernc.github.io/xsuspender/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/kernc/xsuspender/archive/refs/tags/$VERSION.tar.gz" DEPENDS="libwnck3 glib" BUILD_DEPENDS="libwnck3-dev glib-dev cmake pkg-config" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed 's|if GLIB_MINOR_VERSION.*|if 0|' -i src/config.c cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc .. && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/etc $fs/ cp -a $install/usr/bin $fs/usr }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)