wok-current annotate blktrace/receipt @ rev 13774
0install: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 15:04:05 2013 +0100 (2013-01-03) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="blktrace" |
pascal@13591 | 4 VERSION="1.0.5" |
pascal@13591 | 5 CATEGORY="system-tools" |
pascal@13591 | 6 SHORT_DESC="Block layer IO tracing." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13591 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 9 WEB_SITE="http://brick.kernel.dk/snaps" |
pascal@13591 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@13591 | 11 |
pascal@13591 | 12 DEPENDS="libaio" |
pascal@13591 | 13 BUILD_DEPENDS="libaio-dev" |
pascal@13591 | 14 |
pascal@13591 | 15 # Rules to configure and make the package. |
pascal@13591 | 16 compile_rules() |
pascal@13591 | 17 { |
pascal@13591 | 18 cd $src |
pascal@13591 | 19 sed -i 's|/usr/local|/usr|' Makefile |
pascal@13591 | 20 make DESTDIR=$DESTDIR install |
pascal@13591 | 21 } |
pascal@13591 | 22 |
pascal@13591 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 24 genpkg_rules() |
pascal@13591 | 25 { |
pascal@13591 | 26 mkdir -p $fs/usr |
pascal@13591 | 27 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 28 } |
pascal@13591 | 29 |