wok-current view ogmrip/receipt @ rev 21884

merkaartor: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 17:25:34 2019 +0200 (2019-09-30)
parents 76b72f1ad63c
children 080c1dff8494
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 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make -j1 DESTDIR=$DESTDIR install
27 }
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/ogmrip $fs/usr/share
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/ogmrip $fs/usr/lib
40 cp -a $install/etc $fs
42 find $fs/usr/lib/ogmrip -name "*.*a" -type f -delete
43 }