wok-6.x view mmv/receipt @ rev 18868

tazusb: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 02 08:29:58 2016 +0100 (2016-02-02)
parents
children a77b556923e9
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"
10 TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz"
11 WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 wget http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz
20 tar -xzf ${PACKAGE}_$VERSION.debian.tar.gz debian/patches/
21 cat debian/patches/series | while read file; do
22 patch -p1 < debian/patches/$file
23 done
24 sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile
25 mkdir -p $install/usr/bin $install/usr/share/man/man1
26 make && make install
27 cd $install/usr/bin
28 ln -s mmv mcp
29 ln -s mmv mad
30 ln -s mmv mln
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm -r $fs/usr/share
38 }