wok view mmv/receipt @ rev 22042
gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 22 12:55:54 2019 +0300 (2019-10-22) |
parents | 76d0acbe919d |
children | b78e79c31b1f |
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"
12 EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 wget -O "$SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz" \
21 http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz
22 tar -xzf $SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/
23 cat debian/patches/series | while read file; do
24 patch -p1 < debian/patches/$file
25 done
26 sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile
27 mkdir -p $install/usr/bin $install/usr/share/man/man1
28 make && make install
29 cd $install/usr/bin
30 ln -s mmv mcp
31 ln -s mmv mad
32 ln -s mmv mln
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 rm -r $fs/usr/share
40 }