daemontools: properly use wrksrc/build_wrksrc and no patch_args

This commit is contained in:
TJ Vanderpoel 2015-02-24 09:32:30 -06:00 committed by Juan RP
parent 25c94fa23e
commit c8738243b2
2 changed files with 6 additions and 8 deletions

View File

@ -5,7 +5,8 @@
# required variables
#
# build_style=slashpackage
# wrksrc=<category>/${pkgname}-${version}
# wrksrc=<category>
# build_wrksrc=${pkgname}-${version}
# distfiles=<download link>
#
# example (daemontools)
@ -14,15 +15,14 @@
# pkgname=daemontools
# version=0.76
# revision=1
# wrksrc=admin/${pkgname}-${version}
# wrksrc=admin
# build_wrksrc=${pkgname}-${version}
# 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"
#
# patch_args="-p1" # << important for most slashpackage patches
do_build() {
package/compile

View File

@ -1,9 +1,9 @@
# Template file for 'daemontools'
pkgname=daemontools
version=0.76
revision=3
revision=1
wrksrc=admin
build_wrksrc=admin/${pkgname}-${version}
build_wrksrc=${pkgname}-${version}
build_style=slashpackage
short_desc="A collection of tools for managing UNIX services"
maintainer="bougyman <tj@rubyists.com>"
@ -11,5 +11,3 @@ license="Public Domain"
homepage="http://cr.yp.to/daemontools.html"
distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz"
checksum=a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f
patch_args="-p1"