wok-undigest annotate sysdig/receipt @ rev 1227

copied perl recipe from wok-next
author Hans-G?nter Theisgen
date Fri Nov 15 17:49:31 2019 +0100 (2019-11-15)
parents
children
rev   line source
pascal@1120 1 # SliTaz package receipt.
pascal@1120 2
pascal@1120 3 PACKAGE="sysdig"
pascal@1120 4 VERSION="0.1.72"
pascal@1120 5 CATEGORY="misc"
pascal@1120 6 SHORT_DESC="A System Troubleshooting Tool."
pascal@1120 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1120 8 LICENSE="GPL2"
pascal@1120 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1120 10 WEB_SITE="http://www.sysdig.org/"
pascal@1120 11 WGET_URL="https://github.com/draios/sysdig/archive/$VERSION.tar.gz"
pascal@1120 12
pascal@1120 13 DEPENDS=""
pascal@1120 14 #BUILD_DEPENDS="wget cmake linux-api-headers linux-module-headers"
pascal@1120 15 BUILD_DEPENDS="wget cmake linux-module-headers"
pascal@1120 16
pascal@1120 17 # Rules to configure and make the package.
pascal@1120 18 compile_rules()
pascal@1120 19 {
pascal@1120 20 mkdir ../obj
pascal@1120 21 cd ../obj
pascal@1120 22 cmake -DCMAKE_INSTALL_PREFIX=/usr $src
pascal@1120 23 #cmake --debug-output --trace -DCMAKE_INSTALL_PREFIX=/usr $src
pascal@1120 24 make KERNELDIR=/usr/src/linux &&
pascal@1120 25 make DESTDIR=$DESTDIR install
pascal@1120 26 }
pascal@1120 27
pascal@1120 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1120 29 genpkg_rules()
pascal@1120 30 {
pascal@1120 31 cp -a $install/* $fs
pascal@1120 32 }