wok-6.x annotate blktrace/receipt @ rev 23134
Up cryptsetup (2.3.1), mtp-tools (1.1.17)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 14:56:00 2020 +0100 (2020-03-14) |
parents | a5b865e166cd |
children | d443265acbc1 |
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@13591 | 22 make 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 } |