wok-stable view libdvdread-dev/receipt @ rev 12062

clean up receipts with unnecessary cp operations
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Mar 08 11:44:26 2012 -0800 (2012-03-08)
parents 129bb5b11a7e
children
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 WANTED="libdvdread"
9 DEPENDS="libdvdread"
10 WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr
16 # Copying include dir if existes
17 if [ -d "$_pkg/usr/include" ]; then
18 cp -a $_pkg/usr/include $fs/usr
19 fi
21 # Copying bin dir if existes
22 if [ -d "$_pkg/usr/bin" ]; then
23 cp -a $_pkg/usr/bin $fs/usr
24 fi
26 # Copying pkgconfig dir if existes
27 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
28 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
30 fi
32 # Copying static libs if existes
33 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
34 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
36 fi
37 }