wok-next annotate defrag/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents d5aab818505e
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
pascal@13303 2
pascal@13303 3 PACKAGE="defrag"
pascal@13303 4 VERSION="0.08"
pascal@13303 5 CATEGORY="misc"
al@21020 6 SHORT_DESC="A defragmentation script"
pascal@13303 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16660 8 LICENSE="unknown"
al@20943 9 WEB_SITE="http://ck.kolivas.org/apps/defrag/"
al@21057 10 HOST_ARCH="any"
al@21020 11
pascal@13303 12 URL="$(dirname $WEB_SITE)/$PACKAGE-$VERSION/$PACKAGE"
pascal@18931 13 EXTRA_SOURCE_FILES="$PACKAGE"
pascal@13303 14
al@21020 15 genpkg_rules() {
pascal@13303 16 mkdir -p $fs/usr/bin
al@21020 17 [ -s "$SRC/$PACKAGE" ] || wget -P $SRC $URL
al@21020 18
al@20513 19 cp $SRC/$PACKAGE $fs/usr/bin
al@21020 20 DEPENDS="bash"
al@21020 21 SUGGESTED="shake"
pascal@13303 22 }