wok view obshutdown/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (8 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="obshutdown"
4 VERSION="0.1-rc1"
5 CATEGORY="x-window"
6 SHORT_DESC="Light Openbox shutdown manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
10 WEB_SITE="https://github.com/panjandrum/obshutdown"
11 WGET_URL="https://github.com/downloads/panjandrum/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ cairo openbox"
14 BUILD_DEPENDS="gtk+-dev cairo-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 IFS=$(echo -en "\n\b")
21 for i in $(grep -lr "#include <glib" src/)
22 do
23 sed -i 's/#include <glib\/.*>/#include <glib\.h>/g' "$i"
24 done &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -r $install/usr $fs
33 }
35 post_install()
36 {
37 colorize 36 "To get per user config file:"
38 echo "$ cp /usr/share/obshutdown/example.rc ~/.obshutdown.rc"
39 }