wok view expat/receipt @ rev 25505

Up bzip3 (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 06 16:45:49 2023 +0000 (16 minutes ago)
parents 3f7980d355a5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.5.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 HOST_ARCH="i486 arm"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders bin
35 cook_copy_files *.so*
37 # expat so.0 symbolic link.
38 cd $fs/usr/lib
39 ln -s libexpat.so.1.*.* libexpat.so.0
40 }