wok-current rev 24413

created recipe for kompozer (thanks gibor)
author Hans-G?nter Theisgen
date Thu Feb 10 07:54:25 2022 +0100 (2022-02-10)
parents ba7cbdb5749c
children 3abeffdae80b
files kompozer/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kompozer/receipt	Thu Feb 10 07:54:25 2022 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="kompozer"
     1.7 +VERSION="0.8b3"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="KompoZer is a complete web authoring system."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="MPL"
    1.12 +WEB_SITE="http://kompozer.net"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gtk+ libxml2"
    1.18 +BUILD_DEPENDS="coreutils findutils gtk+-dev gtk-girepository libIDL
    1.19 +	libXaw3dXft-dev libxml2-dev nspr-dev pango-dev pkg-config
    1.20 +	perl xorg-libXft-dev zip"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	echo ac_add_options --enable-application=composer > .mozconfig
    1.26 +	cp -a security/coreconf/Linux2.6.mk security/coreconf/Linux3.16.mk
    1.27 +
    1.28 +	{
    1.29 +	./configure			\
    1.30 +		--with-system-nspr	\
    1.31 +		--prefix=/usr		\
    1.32 +		--disable-glibtest	\
    1.33 +		--disable-libIDLtest	\
    1.34 +		--disable-updater	\
    1.35 +		--disable-tests		\
    1.36 +		--enable-system-cairo	\
    1.37 +		--enable-installer &&
    1.38 +	make -j 1 &&
    1.39 +	make install DESTDIR=$DESTDIR
    1.40 +	} 2>&1 | sed "s|build_number': No such|build_number': no such|"
    1.41 +}
    1.42 +
    1.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 +genpkg_rules()
    1.45 +{
    1.46 +	mkdir -p $fs/usr/lib
    1.47 +
    1.48 +	cp -a $install/usr/bin		$fs/usr
    1.49 +	cp -a $install/usr/lib/kompozer	$fs/usr/lib
    1.50 +}