wok view expat/receipt @ rev 24590
syslinux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:39:39 2022 +0000 (2022-02-28) |
parents | 3615521be14e |
children | 81fc994927a6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.4.6"
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 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install DESTDIR=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders bin
34 cook_copy_files *.so*
36 # expat so.0 symbolic link.
37 cd $fs/usr/lib
38 ln -s libexpat.so.1.*.* libexpat.so.0
39 }