wok rev 16989

mate-system-monitor: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 09 09:15:22 2014 +0000 (2014-08-09)
parents f4ea5dc8f805
children 349f36ac34b1
files backup-manager/receipt elksemu/receipt libnids/receipt mate-system-monitor/receipt
line diff
     1.1 --- a/backup-manager/receipt	Sat Aug 09 03:47:53 2014 -0300
     1.2 +++ b/backup-manager/receipt	Sat Aug 09 09:15:22 2014 +0000
     1.3 @@ -11,7 +11,7 @@
     1.4  WEB_SITE="https://github.com/sukria/Backup-Manager"
     1.5  WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
     1.6  CONFIG_FILES="/etc/backup-manager.conf"
     1.7 -TAGS="backup OVH"
     1.8 +TAGS="backup"
     1.9  
    1.10  DEPENDS="bash perl"
    1.11  BUILD_DEPENDS="wget gettext coreutils-operations"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/elksemu/receipt	Sat Aug 09 09:15:22 2014 +0000
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="elksemu"
     2.7 +VERSION="0.16.18"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="ELKS (linux-8086) binary format support"
    2.10 +MAINTAINER="devel@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://www.debath.co.uk/"
    2.13 +WANTED="dev86"
    2.14 +TAGS="virtual 8086 vm86"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	mkdir -p $fs/usr/bin
    2.20 +	cp -a $install/usr/bin/elksemu $fs/usr/bin
    2.21 +}
    2.22 +
    2.23 +# Post install command for Tazpkg.
    2.24 +post_install()
    2.25 +{
    2.26 +	fmt="binfmt_misc"
    2.27 +	proc="/proc/sys/fs/binfmt_misc"
    2.28 +	cat > /tmp/runelks$$ <<EOT
    2.29 +[ ! -e $proc/register ] && modprobe $fmt && mount -t $fmt $fmt $proc
    2.30 +echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:' >$proc/register
    2.31 +EOT
    2.32 +	rc="$1/etc/init.d/local.sh"
    2.33 +	grep -q ':i86-elks:M:' $rc || cat /tmp/runelks$$ >> $rc
    2.34 +	[ -n "$1" ] || . /tmp/runelks$$
    2.35 +	rm -f /tmp/runelks$$
    2.36 +}
    2.37 +
    2.38 +# Pre remove command for Tazpkg.
    2.39 +pre_remove()
    2.40 +{
    2.41 +	echo -1 > $1/proc/sys/fs/binfmt_misc/i86-elks
    2.42 +	sed -i '/binfmt_misc/{N;/:i86-elks:M:/d}' $1/etc/init.d/local.sh
    2.43 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libnids/receipt	Sat Aug 09 09:15:22 2014 +0000
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libnids"
     3.7 +VERSION="1.24"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="An E-component of Network Intrusion Detection System."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://libnids.sourceforge.net/"
    3.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    3.15 +#https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
    3.16 +
    3.17 +DEPENDS=""
    3.18 +BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
    3.24 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    3.25 +	make &&
    3.26 +	make DESTDIR=$DESTDIR install
    3.27 +}
    3.28 +
    3.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.30 +genpkg_rules()
    3.31 +{
    3.32 +	cp -a $install/* $fs/
    3.33 +}
     4.1 --- a/mate-system-monitor/receipt	Sat Aug 09 03:47:53 2014 -0300
     4.2 +++ b/mate-system-monitor/receipt	Sat Aug 09 09:15:22 2014 +0000
     4.3 @@ -13,7 +13,7 @@
     4.4  DEPENDS="dconf dbus-glib gtk+ libgtop libwnck librsvg"
     4.5  BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
     4.6  gtk+-dev gtk-doc dbus-glib-dev glibmm-dev gtkmm-dev libgtop-dev libwnck-dev librsvg-dev \
     4.7 -yelp-tools mate-common-dev"
     4.8 +yelp-tools mate-common-dev mate-icon-theme"
     4.9  
    4.10  # Rules to configure and make the package.
    4.11  compile_rules()