Re: bcwipe - tazwok receipt

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hi,

Yes it is good.
Maybe you can simplify like this.
You don't need to strip the package, because tazwok do it for us.

+Eric.

-------------- cut ----------------------------
# Rules to configure and make the package.
compile_rules()
{
    cd $PACKAGE-$VERSION
    make
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $PACKAGE-$VERSION/$PACKAGE $fs/usr/bin
}

-------------- cut ----------------------------
-- 
+Eric


 Le jeu 24/04/08 21:21, "odd ball" 0dddba11@xxxxxxxxxxxxxx a écrit::
> Ive been working on a receipt for BCWipe a secure deletion tool. What
> Ive got so far works and creates a tazpkg but any comments/changes
> would be welcome. 
> 
> make install just runs an install.sh script so Ive had to alter some
> standard variables and add mkdir commands to get the binaries
> installed in the working directory. Its not pretty but it works so
> far.
> 
> # SliTaz package receipt.
> 
> PACKAGE="bcwipe"
> VERSION="1.7-5"
> CATEGORY="security"
> SHORT_DESC="Secure wipe tool"
> MAINTAINER="0dddba11@xxxxxxxxxxxxxx"
> TARBALL="BCWipe-$VERSION.tar.gz"
> WEB_SITE="http://www.jetico.com/bcwipe_unix.htm [1]"
> WGET_URL="http://www.jetico.com/linux/ [2]"
> 
> # Rules to configure and make the package.
> compile_rules()
> {
> cd $PACKAGE-$VERSION
> make
> mkdir -p ./_pkg/usr/bin
> mkdir -p ./_pkg/usr/share/man/man1
> make root=$PWD/_pkg install
> }
> 
> # Rules to gen a SliTaz package suitable for Tazpkg.
> genpkg_rules()
> {
> mkdir -p $fs/usr
> cp -a $_pkg/usr/bin $fs/usr
> strip -s $fs/usr/bin/*
> }
> 
> 
> 
> Links:
> ------
> [1] http://www.jetico.com/bcwipe_unix.htm
> [2] http://www.jetico.com/linux/
> 
> 


---
SliTaz GNU/Linux Mailing list.
Web site : http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/