wok annotate libdvdcss-dev/receipt @ rev 17453
tazpanel/receipt: edit&remove sed
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Dec 17 19:51:54 2014 +0100 (2014-12-17) |
parents | 4904e3d374a9 |
children | c5acfdf7d5ad |
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" |
pascal@14714 | 8 LICENSE="GPL2" |
erjo@621 | 9 WANTED="libdvdcss" |
erjo@621 | 10 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" |
erjo@621 | 11 |
pascal@15597 | 12 DEPENDS="libdvdcss pkg-config" |
pascal@14714 | 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 |
slaxemulator@12898 | 19 if [ -d "$install/usr/include" ]; then |
slaxemulator@12898 | 20 cp -a $install/usr/include $fs/usr |
erjo@621 | 21 fi |
erjo@621 | 22 |
erjo@621 | 23 # Copying pkgconfig dir if existes |
slaxemulator@12898 | 24 if [ -d "$install/usr/lib/pkgconfig" ]; then |
slaxemulator@6208 | 25 mkdir -p $fs/usr/lib/ |
slaxemulator@12898 | 26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
erjo@621 | 27 fi |
erjo@621 | 28 |
erjo@621 | 29 # Copying static libs if existes |
slaxemulator@12898 | 30 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then |
slaxemulator@6208 | 31 mkdir -p $fs/usr/lib |
slaxemulator@12898 | 32 cp -a $install/usr/lib/*.*a $fs/usr/lib |
erjo@621 | 33 fi |
erjo@621 | 34 } |