wok-6.x annotate libdvdcss-dev/receipt @ rev 22454
get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:01:01 2019 +0000 (2019-12-26) |
parents | 8ed62ecac0c7 |
children | 181317ae7e78 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt." |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdcss-dev" |
Hans-G?nter@21170 | 4 VERSION="1.4.2" |
erjo@621 | 5 CATEGORY="system-tools" |
Hans-G?nter@21170 | 6 SHORT_DESC="Read DVDs - development files." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
Hans-G?nter@21170 | 9 WEB_SITE="https://www.videolan.org/developers/libdvdcss.html" |
Hans-G?nter@21170 | 10 |
erjo@621 | 11 WANTED="libdvdcss" |
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 |
Hans-G?nter@21170 | 18 # Copying include directory, if exists |
slaxemulator@12898 | 19 if [ -d "$install/usr/include" ]; then |
Hans-G?nter@21170 | 20 cp -a $install/usr/include $fs/usr |
erjo@621 | 21 fi |
erjo@621 | 22 |
Hans-G?nter@21170 | 23 # Copying pkgconfig directory, if exists |
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 |
Hans-G?nter@21170 | 29 # Copying static libraries, if exist |
slaxemulator@12898 | 30 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then |
slaxemulator@6208 | 31 mkdir -p $fs/usr/lib |
Hans-G?nter@21170 | 32 cp -a $install/usr/lib/*.*a $fs/usr/lib |
erjo@621 | 33 fi |
erjo@621 | 34 } |