wok-undigest diff libx11/receipt @ rev 1238

added recipes for flac and flac-dev
author Hans-G?nter Theisgen
date Sat Aug 06 17:32:50 2022 +0100 (23 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libx11/receipt	Sat Aug 06 17:32:50 2022 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="libx11"
     1.7 +VERSION="1.6.7"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="X11 Client library"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://www.x.org/wiki/"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7lib.html"
    1.14 +
    1.15 +TARBALL="libX11-$VERSION.tar.bz2"
    1.16 +WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.17 +TARBALL_SHA1="5076f7853713d7db958a05f6fd1c18f7e111a0ad"
    1.18 +
    1.19 +BUILD_DEPENDS="xtrans libxcb-dev xorgproto libxau-dev libxdmcp-dev perl"
    1.20 +SPLIT="$PACKAGE-dev"
    1.21 +
    1.22 +COPY_std="*.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \
    1.23 +C/ en_US.UTF-8/" # split -> locale-* packages
    1.24 +
    1.25 +DEPENDS_std="libxcb"
    1.26 +DEPENDS_dev="$PACKAGE xorgproto libxcb-dev"
    1.27 +
    1.28 +compile_rules() {
    1.29 +	./configure \
    1.30 +		--disable-static \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	fix libtool &&
    1.33 +	make &&
    1.34 +	make install
    1.35 +
    1.36 +	# strip whitespace - reduce size
    1.37 +	find $install -name Compose -exec sed -i 's|\t| |g; s|  *| |g; /^$/d' '{}' \+
    1.38 +}
    1.39 +
    1.40 +TAGS="Xorg"
    1.41 +
    1.42 +PROVIDE_std="xorg-libX11"
    1.43 +PROVIDE_dev="xorg-libX11-dev"