# HG changeset patch # User Pascal Bellard # Date 1550597518 -3600 # Node ID 47d354ec6e6231bb273327ccb7242ed1fc5360e6 # Parent 3a83121a11370db2cd800b79e71ab832afccfa56 Add cbatticon diff -r 3a83121a1137 -r 47d354ec6e62 cbatticon/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cbatticon/receipt Tue Feb 19 18:31:58 2019 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="cbatticon" +VERSION="1.6.8" +CATEGORY="multimedia" +SHORT_DESC="A lightweight and fast battery icon that sits in your system tray" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/valr/cbatticon" +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" + +DEPENDS="gtk+ glib libnotify" +BUILD_DEPENDS="gtk+-dev glib-dev libnotify-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make WITH_GTK3=0 DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/locale $fs/usr/share +} diff -r 3a83121a1137 -r 47d354ec6e62 qb2c/receipt --- a/qb2c/receipt Tue Feb 19 17:34:52 2019 +0100 +++ b/qb2c/receipt Tue Feb 19 18:31:58 2019 +0100 @@ -14,7 +14,7 @@ # Rules to configure and make the package. compile_rules() { - make + make all } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -23,5 +23,6 @@ mkdir -p $fs/usr/bin $fs/usr/lib $install/usr/share/doc cp -a $src/qb2c $src/bcpp $src/calib $fs/usr/bin cp -a $src/libqbX11.a $fs/usr/lib + chown root.root $fs/usr/*/* cp -a $src/*.txt $src/README $install/usr/share/doc }