SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xxdiff"

# SliTaz package receipt.

PACKAGE="xxdiff"
VERSION="4.0.1"
CATEGORY="development"
SHORT_DESC="A graphical front end to the diff command."
MAINTAINER="developer@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://furius.ca/xxdiff/"

TARBALL="$PACKAGE-${VERSION//./}.tar.xz"
WGET_URL="http://ponce.cc/slackware/sources/repo/$TARBALL"

DEPENDS="libQtCore libQtGui"
BUILD_DEPENDS="bison flex qmake Qt4-dev"

current_version()
{
    wget -O - https://sourceforge.net/projects/xxdiff/files/xxdiff/ 2>/dev/null | \
    sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    cd    src
    patch -p2 < $stuff/bison-3.02.patch
    make QMAKE=/usr/bin/qmake -f Makefile.bootstrap &&
    make QMAKE=/usr/bin/qmake
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/bin/xxdiff $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)