wok-6.x view orc-dev/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | 1b762db897fb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="orc-dev"
4 VERSION="0.4.32"
5 CATEGORY="development"
6 SHORT_DESC="Oil runtime compiler - development files."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://gstreamer.freedesktop.org/projects/orc.html"
11 DEPENDS="orc pkg-config"
12 WANTED="orc"
14 HOST_ARCH="i486 arm"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 cook_copy_folders include
20 cook_copy_folders pkgconfig
21 cook_copy_folders share
22 cook_copy_files *.*a
24 # /usr/lib/liborc-0.4.la required to build efl
25 version="$(ls $install/usr/lib/liborc-0*.so.*.*.* | \
26 sed 's|.*so.||;s|\.| |g')"
27 current=${version%% *}
28 age=${version#* }
29 age=${age% *}
30 revision=${version##* }
31 cat > $fs/usr/lib/liborc-0.4.la <<EOT
32 # Generated by libtool (make libtool happy)
33 dlname='$(cd $install/usr/lib; ls liborc-0*.so.?)'
34 library_names='$(cd $install/usr/lib; ls -r liborc-0*.so* | xargs)'
35 old_library='liborc.a'
36 inherited_linker_flags=''
37 weak_library_names=''
38 current=$current
39 age=$age
40 revision=$revision
41 installed=yes
42 shouldnotlink=no
43 dlopen=''
44 dlpreopen=''
45 libdir='/usr/lib'
46 EOT
47 }