wok diff 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
line diff
     1.1 --- a/blktrace/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/blktrace/receipt	Wed Aug 03 21:33:44 2016 +0200
     1.3 @@ -6,8 +6,8 @@
     1.4  SHORT_DESC="Block layer IO tracing."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="http://brick.kernel.dk/snaps"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9 -WEB_SITE="http://brick.kernel.dk/snaps"
    1.10  WGET_URL="$WEB_SITE/$TARBALL"
    1.11  
    1.12  DEPENDS="libaio"
    1.13 @@ -16,15 +16,17 @@
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 -	cd $src
    1.18  	sed -i 's|/usr/local|/usr|' Makefile
    1.19 +
    1.20  	make DESTDIR=$DESTDIR install
    1.21 +
    1.22 +	mkdir -p $install/usr/share
    1.23 +	mv $install/usr/man $install/usr/share
    1.24  }
    1.25  
    1.26 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.27 -genpkg_rules()                                      
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr
    1.32  	cp -a $install/usr/bin $fs/usr
    1.33  }
    1.34 -