wok-next annotate shake/receipt @ rev 21157

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 04 11:54:13 2019 +0100 (2019-02-04)
parents 6b3ce25ee0f5
children
rev   line source
pascal@13303 1 # SliTaz package receipt.
pascal@13303 2
pascal@13303 3 PACKAGE="shake"
pascal@13303 4 VERSION="0.999"
pascal@13303 5 CATEGORY="misc"
al@21020 6 SHORT_DESC="A defragmentation tool"
pascal@13303 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@21020 9 WEB_SITE="http://vleu.net/shake/"
al@21020 10
pascal@13303 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13303 12 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL"
pascal@13303 13
pascal@13303 14 BUILD_DEPENDS="cmake attr attr-dev help2man"
pascal@13303 15
al@21020 16 compile_rules() {
pascal@19916 17 sed -i 's|.*fcntl.*|#include <sys/types.h>\n&|' judge.h
pascal@13303 18 cd $src/build
pascal@13303 19 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
pascal@13303 20 make &&
al@21020 21 make DESTDIR=$install install
pascal@13303 22 }
pascal@13303 23
al@21020 24 genpkg_rules() {
pascal@13303 25 mkdir -p $fs/usr/bin
pascal@13303 26 cp -a $install/usr/bin/* $fs/usr/bin
al@21020 27 DEPENDS="attr"
al@21020 28 SUGGESTED="defrag"
pascal@13303 29 }