SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pnmixer"

# SliTaz package receipt.

PACKAGE="pnmixer"
VERSION="0.7.2"
CATEGORY="utilities"
SHORT_DESC="System tray sound mixer."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://github.com/nicklan/pnmixer/wiki"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/nicklan/$PACKAGE/archive/v$VERSION/$TARBALL"

DEPENDS="alsa-lib atk bzlib cairo expat fontconfig freetype gcc-lib-base \
    gdk-pixbuf glib glibc-base gtk+3 libffi libgio libnotify libpng \
    libxcb pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite \
    xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
    xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
BUILD_DEPENDS="alsa-lib-dev cmake gettext glib-dev gtk+3-dev libnotify-dev \
    xorg-libX11-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cp $stuff/LINGUAS po/LINGUAS

    mkdir    build
    cd    build
    cmake    ..                \
        -DCMAKE_INSTALL_PREFIX=/usr &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)