2015-02-24 04:43:28 +01:00
|
|
|
#
|
|
|
|
# This helper is for templates building slashpackage software.
|
|
|
|
# http://cr.yp.to/slashpackage.html
|
|
|
|
#
|
|
|
|
# required variables
|
|
|
|
#
|
|
|
|
# build_style=slashpackage
|
2015-02-24 16:32:30 +01:00
|
|
|
# wrksrc=<category>
|
|
|
|
# build_wrksrc=${pkgname}-${version}
|
2015-02-24 04:43:28 +01:00
|
|
|
# distfiles=<download link>
|
|
|
|
#
|
|
|
|
# example (daemontools)
|
|
|
|
#
|
2015-02-24 04:46:16 +01:00
|
|
|
# Template file for 'daemontools'
|
|
|
|
# pkgname=daemontools
|
|
|
|
# version=0.76
|
|
|
|
# revision=1
|
2015-02-24 16:32:30 +01:00
|
|
|
# wrksrc=admin
|
|
|
|
# build_wrksrc=${pkgname}-${version}
|
2015-02-24 04:46:16 +01:00
|
|
|
# build_style=slashpackage
|
|
|
|
# short_desc="A collection of tools for managing UNIX services"
|
|
|
|
# maintainer="bougyman <tj@geoforce.com>"
|
|
|
|
# license="Public Domain"
|
|
|
|
# homepage="http://cr.yp.to/daemontools.html"
|
|
|
|
# distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz"
|
2015-02-24 04:43:28 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
package/compile
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for command in command/*; do
|
|
|
|
vbin $command
|
|
|
|
done
|
|
|
|
}
|