wok annotate libdvdread-dev/receipt @ rev 20976

updated glpi (0.80.7 -> 9.4)
author Hans-G?nter Theisgen
date Tue Mar 05 17:17:27 2019 +0100 (2019-03-05)
parents fc9203de5ff2
children 6acb25436157
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@20674 10 WEB_SITE="http://dvdnav.mplayerhq.hu/"
pascal@15154 11
pascal@19774 12 DEPENDS="libdvdread pkg-config"
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 }