wok view obshutdown/receipt @ rev 17707
Up marlin: edit last patch (again)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Mar 02 11:31:13 2015 -0300 (2015-03-02) |
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 }