wok-next diff directfb/receipt @ rev 20446
pixman is obsolete -> xorg-pixman
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 13:29:20 2018 +0200 (2018-02-28) |
parents | b3396910c619 |
children | dd145c435e4b |
line diff
1.1 --- a/directfb/receipt Thu Oct 12 19:04:50 2017 +0200 1.2 +++ b/directfb/receipt Wed Feb 28 13:29:20 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="directfb" 1.8 VERSION="1.4.3" 1.9 @@ -12,8 +12,8 @@ 1.10 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-${VERSION%.*}/$TARBALL" 1.11 HOST_ARCH="i486 arm" 1.12 1.13 -DEPENDS="libpng12 libjpeg freetype tslib zlib" 1.14 BUILD_DEPENDS="libpng12-dev jpeg-dev freetype-dev tslib-dev perl" 1.15 +SPLIT="directfb-dev" 1.16 1.17 # Handle cross compilation. 1.18 case "$ARCH" in 1.19 @@ -43,10 +43,24 @@ 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 - mkdir -p $fs/usr/lib $fs/usr/share 1.24 - cp -a $install/usr/bin $fs/usr 1.25 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.26 - cp -a $install/usr/lib/directfb-* $fs/usr/lib 1.27 - cp -a $install/usr/share/directfb-* $fs/usr/share 1.28 - find $fs/usr/lib -name "*.*a" -exec rm '{}' \; 1.29 + case $PACKAGE in 1.30 + directfb) 1.31 + DEPENDS="libpng12 libjpeg freetype tslib zlib" 1.32 + mkdir -p $fs/usr/lib $fs/usr/share 1.33 + cp -a $install/usr/bin $fs/usr 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 + cp -a $install/usr/lib/directfb-* $fs/usr/lib 1.36 + cp -a $install/usr/share/directfb-* $fs/usr/share 1.37 + find $fs/usr/lib -name "*.*a" -exec rm '{}' \; 1.38 + ;; 1.39 + directfb-dev) 1.40 + DEPENDS="pkg-config" 1.41 + mkdir -p $fs/usr/lib 1.42 + cp -a $install/usr/include $fs/usr 1.43 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.44 + cp -a $install/usr/lib/directfb-* $fs/usr/lib 1.45 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.46 + find $fs/usr/lib -name "*.so*" -exec rm '{}' \; 1.47 + ;; 1.48 + esac 1.49 }