wok-current view expat/receipt @ rev 21477
libsdl2-mixer-dev: add pkgconfig
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed May 01 03:31:44 2019 -0400 (2019-05-01) |
parents | c9e270dd464f |
children | 34e8f4b56043 |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.2.6"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://expat.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make -j 1 &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/bin
28 cp -a $install/usr/bin/* $fs/usr/bin
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 # expat so.0 symbolic link.
31 cd $fs/usr/lib
32 ln -s libexpat.so.1.*.* libexpat.so.0
33 }