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