# HG changeset patch # User Christophe Lincoln # Date 1487916539 -3600 # Node ID 8b741724471022c28b845f76ef11c941600c1f28 # Parent 03fbf0feb2694b7af15914733067b9a4dfde1f39 Add packages example and demo diff -r 03fbf0feb269 -r 8b7417244710 wok/sup-demo/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wok/sup-demo/README Fri Feb 24 07:08:59 2017 +0100 @@ -0,0 +1,2 @@ +This optional README file ccan be used to give more information +about the package installation and usage diff -r 03fbf0feb269 -r 8b7417244710 wok/sup-demo/files/config/sup-demo/demo.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wok/sup-demo/files/config/sup-demo/demo.conf Fri Feb 24 07:08:59 2017 +0100 @@ -0,0 +1,3 @@ +# Configurable variable(s) +# +bugs="http://bugs.slitaz.org" diff -r 03fbf0feb269 -r 8b7417244710 wok/sup-demo/files/local/bin/sup-demo --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wok/sup-demo/files/local/bin/sup-demo Fri Feb 24 07:08:59 2017 +0100 @@ -0,0 +1,16 @@ +#!/bin/sh +# +# SliTaz User Package - Demo script +# Copyright (C) 2017 SliTaz GNU/Linux - BSD License +# +. /lib/libtaz.sh + +newline +echo "$(colorize 33 'Running script :') sup-demo" +echo "$(boldify 'Script dir :') $PWD" +echo "Timestamp : $(date)" +echo "Local path : $HOME/.local" +echo "Sleeping : 2 seconds" && sleep 2 +newline + +exit 0 diff -r 03fbf0feb269 -r 8b7417244710 wok/sup-demo/receip --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wok/sup-demo/receip Fri Feb 24 07:08:59 2017 +0100 @@ -0,0 +1,18 @@ +# SliTaz User Package receip + +PACKAGE="sup-demo" +VERSION="0.1" +SHORT_DESC="Short package description and information" +MAINTAINER="devel@slitaz.org" +LICENSE="BSD" +WEB_SITE="http://www.slitaz.org/" + +# Sup dependencies will be automaticaly downloaded but system wide +# deps must be manually installed by root. +SUP_DEPS="" +DEPENDS="" + +# Here are the optional install rules (download, configure, etc) +sup_install() { + echo "Running sup_install() sequence" +} diff -r 03fbf0feb269 -r 8b7417244710 wok/sup-skel/receip --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wok/sup-skel/receip Fri Feb 24 07:08:59 2017 +0100 @@ -0,0 +1,18 @@ +# SliTaz User Package receip + +PACKAGE="" +VERSION="" +SHORT_DESC="" +MAINTAINER="" +LICENSE="" +WEB_SITE="" + +# Sup dependencies will be automaticaly downloaded but system wide +# deps must be manually installed by root. +SUP_DEPS="" +DEPENDS="" + +# Here are the optional install rules (download, configure, etc) +sup_install() { + echo "" +}