wok-next view mmv/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d43bf7aae921
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mmv"
4 VERSION="1.01b-18"
5 CATEGORY="system-tools"
6 SHORT_DESC="Move, copy, append, or link multiple files in one command"
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL"
9 WEB_SITE="https://packages.debian.org/sid/mmv"
11 TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz"
12 WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL"
13 EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz"
15 compile_rules() {
16 wget -O "$SRC/${PACKAGE}_$VERSION.debian.tar.gz" \
17 http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz
18 tar -xzf $SRC/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/
19 cat debian/patches/series | while read file; do
20 patch -p1 < debian/patches/$file
21 done
22 sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile
23 mkdir -p $install/usr/bin $install/usr/share/man/man1
25 make &&
26 make install || return 1
28 cd $install/usr/bin
29 ln -s mmv mcp
30 ln -s mmv mad
31 ln -s mmv mln
32 }
34 genpkg_rules() {
35 cp -a $install/* $fs
36 rm -r $fs/usr/share
37 }