wok annotate libdvdread-dev/receipt @ rev 15246

icoutils: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 13:27:46 2013 +0000 (2013-09-23)
parents 277fa3378fa7
children fc9203de5ff2
rev   line source
erjo@621 1 # SliTaz package receipt."
erjo@621 2
erjo@621 3 PACKAGE="libdvdread-dev"
slaxemulator@10162 4 VERSION="4.1.3"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="Librairy for reading DVDs dev files."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15154 8 LICENSE="GPL2"
erjo@621 9 WANTED="libdvdread"
pascal@15154 10 WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
pascal@15154 11
erjo@621 12 DEPENDS="libdvdread"
erjo@621 13
erjo@621 14 genpkg_rules()
erjo@621 15 {
erjo@621 16 mkdir -p $fs/usr
erjo@621 17
erjo@621 18 # Copying include dir if existes
pascal@15154 19 if [ -d "$install/usr/include" ]; then
pascal@15154 20 cp -a $install/usr/include $fs/usr
erjo@621 21 fi
slaxemulator@10162 22
slaxemulator@10162 23 # Copying bin dir if existes
pascal@15154 24 if [ -d "$install/usr/bin" ]; then
pascal@15154 25 cp -a $install/usr/bin $fs/usr
slaxemulator@10162 26 fi
slaxemulator@10162 27
erjo@621 28 # Copying pkgconfig dir if existes
pascal@15154 29 if [ -d "$install/usr/lib/pkgconfig" ]; then
pascal@15154 30 test -d $install/usr/lib/ || mkdir -p $install/usr/lib/
pascal@15154 31 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
erjo@621 32 fi
erjo@621 33
erjo@621 34 # Copying static libs if existes
pascal@15154 35 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
erjo@621 36 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
pascal@15154 37 cp -a $install/usr/lib/*.*a $fs/usr/lib
erjo@621 38 fi
erjo@621 39 }