wok view ogmrip/receipt @ rev 9706
gcc: one more fix to remove gcc-build in genpkg_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 20:23:16 2011 +0200 (2011-05-08) |
parents | |
children | 603e73a10c7d |
line source
2 PACKAGE="ogmrip"
3 VERSION="0.13.6"
4 CATEGORY="multimedia"
5 SHORT_DESC="Libraries and GTK2 interface for DVD ripping using mencoder."
6 WEB_SITE="http://ogmrip.sourceforge.net/en/index.html"
7 MAINTAINER="fredericguilbault@live.ca"
8 DEPENDS="libdvdread enca libxml2 mplayer mencoder libglade libnotify acl GConf"
9 BUILD_DEPENDS="libglade-dev libnotify-dev glib-dev libgio-dev enca-dev libxml2-dev mplayer mencoder tiff-dev zlib-dev intltool acl libdvdread-dev GConf-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES=" "
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/applications $fs/usr/share
28 cp -a $_pkg/usr/share/ogmrip $fs/usr/share
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/ogmrip $fs/usr/lib
32 find $fs/usr/lib/ogmrip -name "*.*a" -type f -delete
33 cp -a $_pkg/etc $fs
34 }