wok-6.x annotate blktrace/receipt @ rev 23649
Up openvpn (2.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 20 13:31:36 2020 +0000 (2020-04-20) |
parents | 893245dd56c6 |
children | 9af0e03b8ad0 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="blktrace" |
Hans-G?nter@20749 | 4 VERSION="1.2.0" |
pascal@13591 | 5 CATEGORY="system-tools" |
pascal@13591 | 6 SHORT_DESC="Block layer IO tracing." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19278 | 9 WEB_SITE="http://brick.kernel.dk/snaps" |
Hans-G?nter@20749 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 DEPENDS="libaio" |
pascal@13591 | 15 BUILD_DEPENDS="libaio-dev" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
pascal@13591 | 20 sed -i 's|/usr/local|/usr|' Makefile |
al@19278 | 21 |
pascal@23623 | 22 make -j 1 DESTDIR=$DESTDIR install |
al@19278 | 23 |
al@19278 | 24 mkdir -p $install/usr/share |
al@19278 | 25 mv $install/usr/man $install/usr/share |
pascal@13591 | 26 } |
pascal@13591 | 27 |
al@19278 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19278 | 29 genpkg_rules() |
pascal@13591 | 30 { |
pascal@13591 | 31 mkdir -p $fs/usr |
pascal@13591 | 32 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 33 } |