wok-current view libdvdcss-dev/receipt @ rev 24394

created recipe for python-distutils-extra
author Hans-G?nter Theisgen
date Tue Feb 08 10:09:54 2022 +0100 (2022-02-08)
parents 8ed62ecac0c7
children 181317ae7e78
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdcss-dev"
4 VERSION="1.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Read DVDs - development files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.videolan.org/developers/libdvdcss.html"
11 WANTED="libdvdcss"
12 DEPENDS="libdvdcss pkg-config"
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr
18 # Copying include directory, if exists
19 if [ -d "$install/usr/include" ]; then
20 cp -a $install/usr/include $fs/usr
21 fi
23 # Copying pkgconfig directory, if exists
24 if [ -d "$install/usr/lib/pkgconfig" ]; then
25 mkdir -p $fs/usr/lib/
26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
27 fi
29 # Copying static libraries, if exist
30 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.*a $fs/usr/lib
33 fi
34 }