wok view expat/receipt @ rev 25724

added recipes for xfce4-netload-plugin and xfce4-netload-plugin-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:58:59 2024 +0100 (2 months ago)
parents dd880df75ff5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/$TARBALL"
14 BUILD_DEPENDS="gcc83"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
42 # expat so.0 symbolic link.
43 cd $fs/usr/lib
44 ln -s libexpat.so.1.*.* libexpat.so.0
45 }