wok-6.x view ogmrip/receipt @ rev 24683

updated jack-audio-connection-kit and jack-audio-connection-kit-dev (0.125.0 -> 1.9.20)
author Hans-G?nter Theisgen
date Sat Mar 12 10:39:47 2022 +0100 (2022-03-12)
parents f63646e9af45
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="ogmrip"
4 VERSION="1.0.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Libraries and GTK2 interface for DVD ripping using mencoder."
7 MAINTAINER="fredericguilbault@live.ca"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://ogmrip.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="acl enca GConf libdvdread libglade libnotify libxml2 mencoder mplayer"
15 BUILD_DEPENDS="acl enca-dev GConf-dev glib-dev intltool libdvdread-dev libgio-dev \
16 libglade-dev libnotify-dev libxml2-dev mencoder mplayer pkg-config \
17 tiff-dev zlib-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/ogmrip/files/ogmrip/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/ogmrip-||;s|.tar.*||;q'
26 }
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make -j1 DESTDIR=$DESTDIR install
36 }
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/applications $fs/usr/share
45 cp -a $install/usr/share/ogmrip $fs/usr/share
46 cp -a $install/usr/share/pixmaps $fs/usr/share
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/ogmrip $fs/usr/lib
49 cp -a $install/etc $fs
51 find $fs/usr/lib/ogmrip -name "*.*a" -type f -delete
52 }