wok annotate libxcb-dev/receipt @ rev 23156
Up nwipe (0.28) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 17:43:47 2020 +0100 (2020-03-15) |
parents | a78610b2eb47 |
children | 8b1267de9505 |
rev | line source |
---|---|
mallory@2685 | 1 # SliTaz package receipt. |
mallory@2685 | 2 |
mallory@2685 | 3 PACKAGE="libxcb-dev" |
Hans-G?nter@22199 | 4 VERSION="1.13.1" |
pankso@16194 | 5 ARM_VERSION="1.9.1" |
mallory@2685 | 6 CATEGORY="development" |
Hans-G?nter@22199 | 7 SHORT_DESC="Development files for libxcb." |
mallory@2685 | 8 MAINTAINER="mallory@sweetpeople.org" |
al@14595 | 9 LICENSE="other" |
pascal@20669 | 10 WEB_SITE="https://xcb.freedesktop.org/" |
Hans-G?nter@22199 | 11 |
Hans-G?nter@22199 | 12 DEPENDS="pkg-config xorg-libXau-dev xorg-libXdmcp-dev" |
Hans-G?nter@22199 | 13 WANTED="libxcb" |
Hans-G?nter@22199 | 14 |
pankso@16021 | 15 HOST_ARCH="i486 arm" |
al@14595 | 16 |
pankso@16194 | 17 # Handle SliTaz arch |
pankso@16194 | 18 case "$SLITAZ_ARCH" in |
pankso@16194 | 19 arm*) VERSION="$ARM_VERSION" ;; |
pankso@16194 | 20 esac |
pankso@16194 | 21 |
pankso@16194 | 22 case "$ARCH" in |
pankso@16194 | 23 arm*) VERSION="$ARM_VERSION" ;; |
pankso@16194 | 24 esac |
pankso@16194 | 25 |
mallory@2685 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2685 | 27 genpkg_rules() |
mallory@2685 | 28 { |
slaxemulator@6886 | 29 mkdir -p $fs/usr/lib |
Hans-G?nter@22199 | 30 |
Hans-G?nter@22199 | 31 cp -a $install/usr/include $fs/usr |
Hans-G?nter@22199 | 32 cp -a $install/usr/lib/*.la $fs/usr/lib |
Hans-G?nter@22199 | 33 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
Hans-G?nter@22199 | 34 |
al@14595 | 35 sed -i 's|pthread-stubs||' $fs/usr/lib/pkgconfig/xcb.pc |
mallory@2685 | 36 } |