wok-6.x view xxdiff/receipt @ rev 25554

Up fakeroot (1.31)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 12 20:31:24 2023 +0000 (19 months ago)
parents 076f424196b2
children
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="https://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 }