wok annotate libxcb-dev/receipt @ rev 19786
binutils: depends on flex (ar, ranlib)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 15:22:41 2017 +0200 (2017-02-22) |
parents | c358d2c8fa30 |
children | a78610b2eb47 |
rev | line source |
---|---|
mallory@2685 | 1 # SliTaz package receipt. |
mallory@2685 | 2 |
mallory@2685 | 3 PACKAGE="libxcb-dev" |
pankso@16193 | 4 VERSION="1.10" |
pankso@16194 | 5 ARM_VERSION="1.9.1" |
mallory@2685 | 6 CATEGORY="development" |
al@14604 | 7 SHORT_DESC="Development files for libxcb" |
mallory@2685 | 8 MAINTAINER="mallory@sweetpeople.org" |
al@14595 | 9 LICENSE="other" |
al@14595 | 10 WEB_SITE="http://xcb.freedesktop.org/" |
pankso@16021 | 11 HOST_ARCH="i486 arm" |
al@14595 | 12 |
mallory@2685 | 13 WANTED="libxcb" |
pankso@16193 | 14 DEPENDS="xorg-libXau-dev xorg-libXdmcp-dev pkg-config" |
mallory@2685 | 15 |
pankso@16194 | 16 # Handle SliTaz arch |
pankso@16194 | 17 case "$SLITAZ_ARCH" in |
pankso@16194 | 18 arm*) VERSION="$ARM_VERSION" ;; |
pankso@16194 | 19 esac |
pankso@16194 | 20 |
pankso@16194 | 21 case "$ARCH" in |
pankso@16194 | 22 arm*) VERSION="$ARM_VERSION" ;; |
pankso@16194 | 23 esac |
pankso@16194 | 24 |
mallory@2685 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2685 | 26 genpkg_rules() |
mallory@2685 | 27 { |
slaxemulator@6886 | 28 mkdir -p $fs/usr/lib |
pascal@14566 | 29 cp -a $install/usr/include $fs/usr |
al@14604 | 30 cp -a $install/usr/lib/*.la $fs/usr/lib |
pascal@14566 | 31 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@14595 | 32 sed -i 's|pthread-stubs||' $fs/usr/lib/pkgconfig/xcb.pc |
mallory@2685 | 33 } |