wok view xxdiff/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
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 }