wok-current annotate libdvdcss-dev/receipt @ rev 12898
Up: libdvdcss to 1.2.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 28 06:02:22 2012 +0000 (2012-05-28) |
parents | 6a19590b0a9d |
children | 4904e3d374a9 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt." |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdcss-dev" |
slaxemulator@12898 | 4 VERSION="1.2.12" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Read DVDs dev files." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 DEPENDS="libdvdcss" |
erjo@621 | 9 WANTED="libdvdcss" |
erjo@621 | 10 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" |
erjo@621 | 11 |
erjo@621 | 12 genpkg_rules() |
erjo@621 | 13 { |
erjo@621 | 14 mkdir -p $fs/usr |
erjo@621 | 15 |
erjo@621 | 16 # Copying include dir if existes |
slaxemulator@12898 | 17 if [ -d "$install/usr/include" ]; then |
slaxemulator@12898 | 18 cp -a $install/usr/include $fs/usr |
erjo@621 | 19 fi |
erjo@621 | 20 |
erjo@621 | 21 # Copying pkgconfig dir if existes |
slaxemulator@12898 | 22 if [ -d "$install/usr/lib/pkgconfig" ]; then |
slaxemulator@6208 | 23 mkdir -p $fs/usr/lib/ |
slaxemulator@12898 | 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
erjo@621 | 25 fi |
erjo@621 | 26 |
erjo@621 | 27 # Copying static libs if existes |
slaxemulator@12898 | 28 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then |
slaxemulator@6208 | 29 mkdir -p $fs/usr/lib |
slaxemulator@12898 | 30 cp -a $install/usr/lib/*.*a $fs/usr/lib |
erjo@621 | 31 fi |
erjo@621 | 32 } |