SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "meld"

# SliTaz package receipt.

PACKAGE="meld"
VERSION="1.6.0"
CATEGORY="development"
SHORT_DESC="Visual diff and merge tool for GNOME."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://meldmerge.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="pygtk rarian"
BUILD_DEPENDS="pygtk-dev rarian-dev gnome-doc-utils intltool pkg-config \
util-linux-getopt"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    make prefix=/usr && make prefix=/usr DESTDIR=$DESTDIR install
}

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