wok-undigest annotate rr/receipt @ rev 1253
copied recipes for binutils and libbfd from cooking wok
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 13 10:25:12 2022 +0100 (22 months ago) |
parents | 79c3da56dd25 |
children |
rev | line source |
---|---|
pascal@1116 | 1 # SliTaz package receipt. |
pascal@1116 | 2 |
pascal@1116 | 3 PACKAGE="rr" |
pascal@1116 | 4 VERSION="1.1.0" |
pascal@1116 | 5 CATEGORY="development" |
pascal@1116 | 6 SHORT_DESC="Records nondeterministic executions and debugs them deterministically." |
pascal@1116 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1116 | 8 LICENSE="MIT BSD" |
pascal@1116 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1116 | 10 WEB_SITE="http://www.rr-project.org/" |
pascal@1116 | 11 WGET_URL="https://github.com/mozilla/rr/archive/$VERSION.tar.gz" |
pascal@1116 | 12 |
pascal@1116 | 13 DEPENDS="libdisasm libpfm" |
pascal@1117 | 14 BUILD_DEPENDS="wget cmake libdisasm-dev libpfm-dev linux-api-headers" |
pascal@1116 | 15 |
pascal@1116 | 16 # Rules to configure and make the package. |
pascal@1116 | 17 compile_rules() |
pascal@1116 | 18 { |
pascal@1118 | 19 sed -i 's|errno.h>|linux/ptrace.h>\n#include <&|' src/task.cc src/util.cc |
pascal@1116 | 20 mkdir ../obj |
pascal@1116 | 21 cd ../obj |
pascal@1119 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr $src |
pascal@1116 | 23 make && |
pascal@1116 | 24 make DESTDIR=$DESTDIR install |
pascal@1116 | 25 } |
pascal@1116 | 26 |
pascal@1116 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1116 | 28 genpkg_rules() |
pascal@1116 | 29 { |
pascal@1116 | 30 cp -a $install/* $fs |
pascal@1116 | 31 } |