wok-6.x annotate ogmrip/receipt @ rev 13661
ccid: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 21 21:52:14 2012 +0100 (2012-11-21) |
parents | 70d73d040a3e |
children | 76b72f1ad63c |
rev | line source |
---|---|
slaxemulator@7577 | 1 |
slaxemulator@7577 | 2 PACKAGE="ogmrip" |
gokhlayeh@11483 | 3 VERSION="0.13.7" |
slaxemulator@7577 | 4 CATEGORY="multimedia" |
slaxemulator@7577 | 5 SHORT_DESC="Libraries and GTK2 interface for DVD ripping using mencoder." |
slaxemulator@7577 | 6 WEB_SITE="http://ogmrip.sourceforge.net/en/index.html" |
slaxemulator@7577 | 7 MAINTAINER="fredericguilbault@live.ca" |
slaxemulator@7577 | 8 DEPENDS="libdvdread enca libxml2 mplayer mencoder libglade libnotify acl GConf" |
slaxemulator@7577 | 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" |
gokhlayeh@11483 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@11483 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7577 | 12 |
gokhlayeh@11483 | 13 |
gokhlayeh@11483 | 14 compile_rules() |
gokhlayeh@11483 | 15 { |
slaxemulator@7577 | 16 cd $src |
gokhlayeh@11483 | 17 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS \ |
gokhlayeh@11483 | 18 && make \ |
gokhlayeh@11483 | 19 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@7577 | 20 } |
slaxemulator@7577 | 21 |
slaxemulator@7577 | 22 genpkg_rules() |
slaxemulator@7577 | 23 { |
slaxemulator@7577 | 24 mkdir -p $fs/usr/lib $fs/usr/share |
gokhlayeh@11483 | 25 |
slaxemulator@7577 | 26 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7577 | 27 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@7577 | 28 cp -a $_pkg/usr/share/ogmrip $fs/usr/share |
slaxemulator@7577 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@7577 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7577 | 31 cp -a $_pkg/usr/lib/ogmrip $fs/usr/lib |
slaxemulator@7577 | 32 find $fs/usr/lib/ogmrip -name "*.*a" -type f -delete |
slaxemulator@7577 | 33 cp -a $_pkg/etc $fs |
gokhlayeh@11483 | 34 } |