SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pidgin-libnotify"

# SliTaz package receipt.

PACKAGE="pidgin-libnotify"
VERSION="0.14"
CATEGORY="network"
SHORT_DESC="Notification interface for Pidgin."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://gaim-libnotify.sourceforge.net/"
WGET_URL="$SF_MIRROR/project/gaim-libnotify/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"

DEPENDS="pidgin libnotify"
BUILD_DEPENDS="intltool libpurple-dev libnotify-dev pidgin-dev libffi gtk+-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/gaim-libnotify/files/pidgin-libnotify/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/pidgin-libnotify/pidgin-libnotify-||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i '/notify_notification_new/s/, NULL,/,/' src/pidgin-libnotify.c
    ./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/purple-2
    cp -a $install/usr/lib/purple-2/*.so $fs/usr/lib/purple-2
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)