wok-4.x view expat/receipt @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (2022-11-10)
parents e5ae411e1d8c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://expat.sourceforge.net/"
10 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 WGET_URL="http://mirror.slitaz.org/sources/packages-4.0/e/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --sysconfdir=/etc --prefix=/usr \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/bin
27 cp -a $_pkg/usr/bin/* $fs/usr/bin
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 # expat so.0 symbolic link.
30 cd $fs/usr/lib
31 ln -s libexpat.so.1.5.2 libexpat.so.0
32 }