wok-next diff docbook-xml/receipt @ rev 20679

Up acpid (2.0.28), apr-util (1.6.1), apr (1.6.3), iso-codes (3.77), jasper (2.0.14), lcms2 (2.9), libassuan (2.5.1), libatomic_ops (7.6.2), libbytesize (1.2), libgcrypt (1.8.2), libgsf (1.14.42), libgudev (232), libgusb (0.3.0), libtasn1 (4.13); add libqmi, modem-manager.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 17 01:08:40 2018 +0300 (2018-05-17)
parents 35a20e111081
children a20a093a9790
line diff
     1.1 --- a/docbook-xml/receipt	Fri Feb 03 12:13:00 2017 +0200
     1.2 +++ b/docbook-xml/receipt	Thu May 17 01:08:40 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="docbook-xml"
     1.8  VERSION="4.5"
     1.9 @@ -14,17 +14,13 @@
    1.10  DEPENDS="libxml2-tools libxml2 docbook-xml-412 docbook-xml-42 docbook-xml-43 \
    1.11  docbook-xml-44"
    1.12  
    1.13 -# Rules to configure and make the package.
    1.14 -compile_rules()
    1.15 -{
    1.16 +compile_rules() {
    1.17  	mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-$VERSION
    1.18  	cp -dRf docbook.cat *.dtd ent/ *.mod \
    1.19  		$DESTDIR/usr/share/xml/docbook/xml-dtd-$VERSION
    1.20  }
    1.21  
    1.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 -genpkg_rules()
    1.24 -{
    1.25 +genpkg_rules() {
    1.26  	mkdir -p $fs
    1.27  	cp -a $install/usr $fs
    1.28  }
    1.29 @@ -39,7 +35,7 @@
    1.30  	fi
    1.31  
    1.32  	if [ "$1" ]; then
    1.33 -		mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2> /dev/null
    1.34 +		mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2>/dev/null
    1.35  		cp /etc/resolv.conf "$1/etc/resolv.conf"
    1.36  	fi
    1.37  
    1.38 @@ -288,11 +284,10 @@
    1.39  		"file:///etc/xml/docbook-xml" \
    1.40  		"/etc/xml/catalog"
    1.41  	if [ -n "$1" ]; then
    1.42 -		mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2> /dev/null
    1.43 +		mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2>/dev/null
    1.44  	fi
    1.45  }
    1.46  
    1.47 -post_remove()
    1.48 -{
    1.49 +post_remove() {
    1.50  	xmlcatalog --noout --del file:///etc/xml/docbook-xml "$1/etc/xml/catalog"
    1.51  }