wok annotate blktrace/receipt @ rev 19366
freeradius: add init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 21:33:44 2016 +0200 (2016-08-03) |
parents | 380ffe05937a |
children | 893245dd56c6 |
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" |
al@19278 | 9 WEB_SITE="http://brick.kernel.dk/snaps" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 sed -i 's|/usr/local|/usr|' Makefile |
al@19278 | 20 |
pascal@13591 | 21 make DESTDIR=$DESTDIR install |
al@19278 | 22 |
al@19278 | 23 mkdir -p $install/usr/share |
al@19278 | 24 mv $install/usr/man $install/usr/share |
pascal@13591 | 25 } |
pascal@13591 | 26 |
al@19278 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19278 | 28 genpkg_rules() |
pascal@13591 | 29 { |
pascal@13591 | 30 mkdir -p $fs/usr |
pascal@13591 | 31 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 32 } |