wok-6.x view xxdiff/receipt @ rev 25287
updated rsync (3.2.3 -> 3.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 17:50:55 2022 +0100 (2022-07-18) |
parents | e424d38736d6 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xxdiff"
4 VERSION="4.0.1"
5 CATEGORY="development"
6 SHORT_DESC="A graphical front end to the diff command."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://furius.ca/xxdiff/"
11 TARBALL="$PACKAGE-${VERSION//./}.tar.xz"
12 WGET_URL="http://ponce.cc/slackware/sources/repo/$TARBALL"
14 DEPENDS="libQtCore libQtGui"
15 BUILD_DEPENDS="bison flex qmake Qt4-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/xxdiff/files/xxdiff/ 2>/dev/null | \
20 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd src
27 patch -p2 < $stuff/bison-3.02.patch
28 make QMAKE=/usr/bin/qmake -f Makefile.bootstrap &&
29 make QMAKE=/usr/bin/qmake
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/bin/xxdiff $fs/usr/bin
37 }