wok view atk-dev/receipt @ rev 24295

Up ventoy (1.0.64)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 14 17:35:36 2022 +0000 (2022-01-14)
parents f97b44376525
children
line source
1 # SliTaz package receipt.
3 PACKAGE="atk-dev"
4 VERSION="2.34.1"
5 CATEGORY="development"
6 SHORT_DESC="Accessibility toolkit - development files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnome.org/"
11 DEPENDS="atk pkg-config"
12 WANTED="atk"
14 HOST_ARCH="i486 arm"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib
20 mkdir -p $fs/usr/share
22 # cp -a $install/usr/lib/*.*a $fs/usr/lib
23 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
24 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
25 cp -a $install/usr/share/gir-1.0 $fs/usr/share
26 cp -a $install/usr/include $fs/usr
27 version="$(ls $install/usr/lib/libatk-*.so.*.*.* | \
28 sed 's|.*so.||;s|\.| |g')"
29 cat > $fs/usr/lib/libatk-1.0.la <<EOT
30 # Generated by libtool (make libtool happy)
31 dlname='$(cd $install/usr/lib; ls libatk-*.so.?)'
32 library_names='$(cd $install/usr/lib; ls -r libatk-*.so* | xargs)'
33 old_library='libatk.a'
34 #inherited_linker_flags=' -lglib -lgobject -lpcre -lpthread -lrt -lffi'
35 inherited_linker_flags=' -lpcre -lpthread -lrt -lffi'
36 weak_library_names=''
37 current=$(set -- $version ; echo $1)
38 age=$(set -- $version ; echo $2)
39 revision=$(set -- $version ; echo $3)
40 installed=yes
41 shouldnotlink=no
42 dlopen=''
43 dlpreopen=''
44 libdir='/usr/lib'
45 EOT
46 }