SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ogmrip"

# SliTaz package receipt.

PACKAGE="ogmrip"
VERSION="1.0.1"
CATEGORY="multimedia"
SHORT_DESC="Libraries and GTK2 interface for DVD ripping using mencoder."
MAINTAINER="fredericguilbault@live.ca"
LICENSE="LGPL2.1"
WEB_SITE="https://ogmrip.sourceforge.net/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="acl enca GConf libdvdread libglade libnotify libxml2 mencoder mplayer"
BUILD_DEPENDS="acl enca-dev GConf-dev glib-dev intltool libdvdread-dev libgio-dev \
    libglade-dev libnotify-dev libxml2-dev mencoder mplayer pkg-config \
    tiff-dev zlib-dev" 

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

compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        $CONFIGURE_ARGS &&
        make &&
        make -j1 DESTDIR=$DESTDIR install
}

genpkg_rules()
{
    mkdir -p $fs/usr/lib
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/share/applications    $fs/usr/share
    cp -a $install/usr/share/ogmrip        $fs/usr/share
    cp -a $install/usr/share/pixmaps    $fs/usr/share
    cp -a $install/usr/lib/*.so*        $fs/usr/lib
    cp -a $install/usr/lib/ogmrip        $fs/usr/lib
    cp -a $install/etc            $fs

    find $fs/usr/lib/ogmrip -name "*.*a" -type f -delete
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)