wok-current annotate connman-ui/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | a78610b2eb47 |
children |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="connman-ui" |
pascal@16322 | 4 GITHASH="e4a8ddcca0870eb2ece5a7e3ea0296de9c86e5b2" |
pascal@16322 | 5 VERSION=${GITHASH:0:7} |
pascal@15721 | 6 CATEGORY="network" |
pascal@15721 | 7 SHORT_DESC="A full-featured GTK based trayicon UI for ConnMan" |
pascal@15721 | 8 MAINTAINER="domcox@slitaz.org" |
pascal@15721 | 9 LICENSE="GPL2" |
pascal@20669 | 10 WEB_SITE="https://github.com/tbursztyka/connman-ui" |
pascal@16324 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@16324 | 12 WGET_URL="https://github.com/tbursztyka/connman-ui/archive/$GITHASH.zip" |
pascal@15721 | 13 |
pascal@15721 | 14 DEPENDS="connman dbus gtk+3" |
pascal@16322 | 15 BUILD_DEPENDS="wget autoconf automake libtool connman-dev gtk+3-dev dbus-dev \ |
pascal@15721 | 16 libxml2-dev" |
pascal@15721 | 17 |
pascal@24476 | 18 # What is the latest version available today? |
pascal@24476 | 19 current_version() |
pascal@24476 | 20 { |
pascal@24476 | 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24476 | 22 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24476 | 23 } |
pascal@24476 | 24 |
pascal@15721 | 25 # Rules to configure and make the package. |
pascal@15721 | 26 compile_rules() |
pascal@15721 | 27 { |
pascal@15721 | 28 ./autogen.sh && |
pascal@15721 | 29 ./configure $CONFIGURE_ARGS && |
pascal@15721 | 30 # remove Exite menu |
pascal@15721 | 31 cp -a $stuff/right_menu.ui $src/data/ui && |
pascal@15721 | 32 # change some icons |
pascal@15721 | 33 cp -a $stuff/icons/*.png $src/data/icons && |
pascal@15721 | 34 make && |
pascal@15721 | 35 make DESTDIR=$DESTDIR install |
pascal@15721 | 36 } |
pascal@15721 | 37 |
pascal@15721 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 39 genpkg_rules() |
pascal@15721 | 40 { |
pascal@15721 | 41 cp -a $install/* $fs |
pascal@15721 | 42 } |