wok-6.x view libdvdread-dev/receipt @ rev 20412
*l2tp*: add doc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 02 11:32:59 2018 +0200 (2018-08-02) |
parents | 7b3764f928eb |
children | eeba7ab1dffe |
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdread-dev"
4 VERSION="4.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Librairy for reading DVDs dev files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="libdvdread"
10 WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
12 DEPENDS="libdvdread pkg-config"
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr
18 # Copying include dir if existes
19 if [ -d "$install/usr/include" ]; then
20 cp -a $install/usr/include $fs/usr
21 fi
23 # Copying bin dir if existes
24 if [ -d "$install/usr/bin" ]; then
25 cp -a $install/usr/bin $fs/usr
26 fi
28 # Copying pkgconfig dir if existes
29 if [ -d "$install/usr/lib/pkgconfig" ]; then
30 test -d $install/usr/lib/ || mkdir -p $install/usr/lib/
31 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
32 fi
34 # Copying static libs if existes
35 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
36 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.*a $fs/usr/lib
38 fi
39 }