wok rev 23770

created recipes for xorg-libXfont2 and xorg-libXfont2-dev
author Hans-G?nter Theisgen
date Fri May 15 07:18:58 2020 +0100 (2020-05-15)
parents b1accdd21cab
children 419ac8078fff
files xorg-libXfont2-dev/receipt xorg-libXfont2/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-libXfont2-dev/receipt	Fri May 15 07:18:58 2020 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-libXfont2-dev"
     1.7 +VERSION="2.0.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Development files for libXfont2."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="other"
    1.12 +WEB_SITE="https://www.x.org/wiki/"
    1.13 +
    1.14 +DEPENDS="freetype-dev glibc-dev pkg-config xorg-fontsproto 
    1.15 +	xorg-libfontenc-dev xorg-libXfont zlib-dev"
    1.16 +WANTED="xorg-libXfont"
    1.17 +
    1.18 +HOST_ARCH="i486 arm"
    1.19 +
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p $fs/usr/share/licenses
    1.24 +	mkdir -p $fs/usr/lib
    1.25 +
    1.26 +	cp -a $src/COPYING			$fs/usr/share/licenses/${PACKAGE%-dev}.txt
    1.27 +	cp -a $install/usr/include		$fs/usr
    1.28 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.29 +	cp -a $install/usr/lib/*.la		$fs/usr/lib
    1.30 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xorg-libXfont2/receipt	Fri May 15 07:18:58 2020 +0100
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xorg-libXfont2"
     2.7 +VERSION="2.0.4"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="X font Library."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="other"
    2.12 +WEB_SITE="https://www.x.org/wiki/"
    2.13 +
    2.14 +SOURCE="libXfont2"
    2.15 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.16 +WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    2.17 +
    2.18 +DEPENDS="bzlib freetype xorg-libfontenc"
    2.19 +BUILD_DEPENDS="bzip2-dev freetype-dev xorg-fontsproto 
    2.20 +	xorg-libfontenc-dev xorg-xtrans zlib-dev"
    2.21 +
    2.22 +HOST_ARCH="i486 arm"
    2.23 +
    2.24 +# Rules to configure and make the package.
    2.25 +compile_rules()
    2.26 +{
    2.27 +	./configure			\
    2.28 +		--sysconfdir=/etc	\
    2.29 +		--localstatedir=/var	\
    2.30 +		--disable-static	\
    2.31 +		--disable-devel-docs	\
    2.32 +		$CONFIGURE_ARGS &&
    2.33 +	make &&
    2.34 +	make install
    2.35 +}
    2.36 +
    2.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 +genpkg_rules()
    2.39 +{
    2.40 +	mkdir -p $fs/usr/lib
    2.41 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.42 +}