wok-current view xxdiff/receipt @ rev 24307

slitaz-boot-scripts: update
author Richard Dunbar <mojo@slitaz.org>
date Mon Jan 17 12:42:24 2022 -0500 (2022-01-17)
parents 505527cf814f
children 076f424196b2
line source
1 # SliTaz package receipt.
3 PACKAGE="xxdiff"
4 VERSION="4.01"
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 }