wok-6.x view minitube/receipt @ rev 18480

syslinux: fix post-install when upgrade the package
No more "XXXXXXXX" here, so post_install() fails
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 03:44:14 2015 +0300 (2015-10-08)
parents f0abc67d78c1
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="minitube"
4 VERSION="2.4-1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Minitube is a native YouTube client"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://flavio.tordini.org/minitube"
10 #TARBALL="$PACKAGE-$VERSION.tar.gz"
11 #deb# TARBALL="$PACKAGE.deb"
12 #deb# WGET_URL="http://flavio.tordini.org/files/minitube/minitube.deb"
13 TARBALL="${PACKAGE}-${VERSION}.mga5.i586.rpm"
14 WGET_URL="http://mirrors.kernel.org/mageia/distrib/5/i586/media/core/release/$TARBALL"
16 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
17 libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts"
18 # BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon"
20 # Rules to configure and make the package.
21 #deb#compile_rules()
22 #deb#{
23 # put default icons to resources (instead of to hicolor icon theme)
24 # cp -a $stuff/*.png $src/images
25 # cp -a $stuff/*.png $src/
26 # patch -p0 < $stuff/icons.diff
28 # mkdir build; cd build
29 # qmake ../minitube.pro &&
30 # make && make INSTALL_ROOT=$install install
31 #deb# busybox ar vx $src/$TARBALL
32 #deb# tar xf data.tar*
33 #deb#}
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 # cp -a $install/* $fs
39 mkdir -p $fs/usr
40 cp -a $src/* $fs/usr
42 #deb# cp -a $src/usr $fs
44 # remove big icons
45 for size in 64 128 256 512 scalable; do
46 rm -rf $fs/usr/share/icons/hicolor/${size}*
47 done
48 }