wok annotate secure-delete/receipt @ rev 17533
Add libssh2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 17:12:27 2015 +0100 (2015-01-21) |
parents | 6ed57ad678f9 |
children | b9659e3c2111 |
rev | line source |
---|---|
slaxemulator@7335 | 1 # SliTaz package receipt. |
slaxemulator@7335 | 2 |
slaxemulator@7335 | 3 PACKAGE="secure-delete" |
slaxemulator@7335 | 4 VERSION="3.1" |
slaxemulator@7335 | 5 CATEGORY="misc" |
slaxemulator@7335 | 6 SHORT_DESC="Secure file, disk, swap, memory erasure utilities." |
slaxemulator@7335 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15593 | 8 LICENSE="MIT" |
slaxemulator@7335 | 9 SOURCE="secure_delete" |
slaxemulator@7335 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7335 | 11 WEB_SITE="http://www.thc.org/" |
slaxemulator@7335 | 12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL" |
slaxemulator@7335 | 13 |
pascal@15593 | 14 DEPENDS="glibc-base" |
pascal@15593 | 15 |
slaxemulator@7335 | 16 # Rules to configure and make the package. |
slaxemulator@7335 | 17 compile_rules() |
slaxemulator@7335 | 18 { |
slaxemulator@7335 | 19 cd $src |
slaxemulator@7335 | 20 chmod u+w . |
slaxemulator@7335 | 21 sed -ie 's/mktemp/mkstemp/g' sfill.c |
slaxemulator@7335 | 22 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile |
pascal@8970 | 23 make -j1 && |
pascal@15593 | 24 make -j1 && make -j1 INSTALL_DIR=$DESTDIR/usr/bin install |
pascal@15593 | 25 chmod a+r $DESTDIR/usr/bin/* |
slaxemulator@7335 | 26 } |
slaxemulator@7335 | 27 |
slaxemulator@7335 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7335 | 29 genpkg_rules() |
slaxemulator@7335 | 30 { |
slaxemulator@7335 | 31 mkdir -p $fs/usr |
pascal@15593 | 32 cp -a $install/usr/bin $fs/usr |
slaxemulator@7335 | 33 } |
slaxemulator@7335 | 34 |