wok-6.x annotate blktrace/receipt @ rev 18664
Up tazpkg(881)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 03:41:51 2015 +0200 (2015-12-04) |
parents | 4aed2b24febc |
children | a5b865e166cd |
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@15000 | 8 LICENSE="GPL2" |
pascal@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 10 WEB_SITE="http://brick.kernel.dk/snaps" |
pascal@13591 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="libaio" |
pascal@13591 | 14 BUILD_DEPENDS="libaio-dev" |
pascal@13591 | 15 |
pascal@13591 | 16 # Rules to configure and make the package. |
pascal@13591 | 17 compile_rules() |
pascal@13591 | 18 { |
pascal@13591 | 19 cd $src |
pascal@13591 | 20 sed -i 's|/usr/local|/usr|' Makefile |
pascal@13591 | 21 make DESTDIR=$DESTDIR install |
pascal@13591 | 22 } |
pascal@13591 | 23 |
pascal@13591 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 25 genpkg_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 mkdir -p $fs/usr |
pascal@13591 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 29 } |
pascal@13591 | 30 |