wok-next view blktrace/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | 380ffe05937a |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="blktrace"
4 VERSION="1.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Block layer IO tracing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://brick.kernel.dk/snaps"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="libaio"
14 BUILD_DEPENDS="libaio-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/local|/usr|' Makefile
21 make DESTDIR=$DESTDIR install
23 mkdir -p $install/usr/share
24 mv $install/usr/man $install/usr/share
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }