SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mhwaveedit"

# SliTaz package receipt.

PACKAGE="mhwaveedit"
VERSION="1.4.24"
CATEGORY="multimedia"
SHORT_DESC="Lightweight sound files editor, recorder and player."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/magnush/mhwaveedit/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"

DEPENDS="alsa-lib libxml2 expat gtk+ xorg-libX11 xorg-libXau \
    xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
    xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
    xorg-libXdamage"
BUILD_DEPENDS="alsa-lib-dev libxml2-dev xorg-libX11-dev gtk+-dev"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    chmod +x install-sh
    ./configure            \
        --prefix=/usr        \
        --without-sdl        \
        --without-libsamplerate    \
        --without-portaudio    \
        --without-libsndfile    \
        --without-esound    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    mkdir -p $fs/etc

    cp -a $install/usr/bin    $fs/usr
    cp -a $stuff/skel    $fs/etc
    chown -R 0.0 $fs
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)