wok rev 20831

Add cbatticon
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 19 18:31:58 2019 +0100 (2019-02-19)
parents 3a83121a1137
children b50d9fb56587
files cbatticon/receipt qb2c/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cbatticon/receipt	Tue Feb 19 18:31:58 2019 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cbatticon"
     1.7 +VERSION="1.6.8"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="A lightweight and fast battery icon that sits in your system tray"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/valr/cbatticon"
    1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="gtk+ glib libnotify"
    1.17 +BUILD_DEPENDS="gtk+-dev glib-dev libnotify-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	make WITH_GTK3=0 DESTDIR=$DESTDIR install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	cp -a $install/usr/bin $fs/usr
    1.30 +	cp -a $install/usr/share/locale $fs/usr/share
    1.31 +}
     2.1 --- a/qb2c/receipt	Tue Feb 19 17:34:52 2019 +0100
     2.2 +++ b/qb2c/receipt	Tue Feb 19 18:31:58 2019 +0100
     2.3 @@ -14,7 +14,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	make
     2.8 +	make all
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.12 @@ -23,5 +23,6 @@
    2.13  	mkdir -p $fs/usr/bin $fs/usr/lib $install/usr/share/doc
    2.14  	cp -a $src/qb2c $src/bcpp $src/calib $fs/usr/bin
    2.15  	cp -a $src/libqbX11.a $fs/usr/lib
    2.16 +	chown root.root $fs/usr/*/*
    2.17  	cp -a $src/*.txt $src/README $install/usr/share/doc
    2.18  }