[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: "slitaz@xxxxxxxxxxxxxxxxxxx" <slitaz@xxxxxxxxxxxxxxxxxxx>
- Subject: bcwipe - tazwok receipt
- From: "odd ball" <0dddba11@xxxxxxxxxxxxxx>
- Date: Thu, 24 Apr 2008 21:21:37 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=/A0bFzeAKCkjCKZybREjlpA3LeWYQbfYvz10XQdQXy0=; b=Y+4LWDeNEnR0upCCqwo6bYL86YrMUf14REFPWvm2UAeOPZbkLC30p2qaan+Ub4vFHuO+ArK/XD14jMJ6ImwdaOktjn/GuK6v0VnCyGYk/hM4UU/O7YFrMA1Iaixxvj759WadBoVeDDjiq3oT5/z96vSD8j5rhQagImOg+N/jFKI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=QB0LTP4lg9c+wrAQj8ATjEE5qaEAbN4wyVsQu0x+M6bR06LQaKduPQ12WcpknV276t4CS6h77qMuD7/nScnYkP7FPXXww7Xnq8UDIFbYv01ErQGdn6bnaX4t/3u7bWeludIkG/PgOGdxjpWkXeBecPzc4Z+b8wUUgTQCHMGn1oc=
I've been working on a receipt for BCWipe a secure deletion tool. What I've got so far works and creates a tazpkg but any comments/changes would be welcome.
'make install' just runs an install.sh script so I've had to alter some standard variables and add mkdir commands to get the binaries installed in the working directory. It's 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"
WGET_URL="http://www.jetico.com/linux/$TARBALL"
# 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/*
}