wok-current view obshutdown/receipt @ rev 23681
Up libsvn (1.13.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 15:38:37 2020 +0000 (2020-04-26) |
parents | |
children | 34e801e0eb52 |
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 }