wok-6.x view xxdiff/receipt @ rev 24328
updated asunder (2.9.5 -> 2.9.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 14:28:54 2022 +0100 (2022-01-27) |
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 }