wok view libnl/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 8dd8bab3f0ca
children 98cf458f5c62
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="3.4.0"
5 CATEGORY="network"
6 SHORT_DESC="netlink library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.infradead.org/~tgr/libnl/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
15 HOST_ARCH="i486 arm"
17 # Cross compile needs host flex
18 BUILD_DEPENDS="flex"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/etc $fs
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/libnl $fs/usr/lib
39 find $fs/usr/lib -type f -name "*.*a" -exec rm -f {} \;
40 }