wok view libdvdcss-dev/receipt @ rev 24082

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 09 18:20:09 2021 +0000 (2021-07-09)
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 }