wok-4.x rev 8530

Fixed libwebkit to not need src varible folder. Moved GtkLanucher to DESTDIR/usr/bin in compile_rules so we can save 300mb on tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 01:40:21 2011 +0000 (2011-02-13)
parents c4ec7f0fcfea
children 0043777ad43d
files libwebkit-dev/receipt libwebkit/receipt webkit-web-inspector/receipt
line diff
     1.1 --- a/libwebkit-dev/receipt	Sun Feb 13 01:29:58 2011 +0000
     1.2 +++ b/libwebkit-dev/receipt	Sun Feb 13 01:40:21 2011 +0000
     1.3 @@ -1,11 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libwebkit-dev"
     1.7 -SOURCE="webkit"
     1.8  VERSION="1.2.7"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="xHTML render library."
    1.11  DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
    1.12 +SOURCE="webkit"
    1.13  WANTED="libwebkit"
    1.14  MAINTAINER="mallory@sweetpeople.org"
    1.15  WEB_SITE="http://webkitgtk.org"
    1.16 @@ -13,7 +13,6 @@
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.21  	mkdir -p $fs/usr/lib $fs/usr/share
    1.22  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.23  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
     2.1 --- a/libwebkit/receipt	Sun Feb 13 01:29:58 2011 +0000
     2.2 +++ b/libwebkit/receipt	Sun Feb 13 01:40:21 2011 +0000
     2.3 @@ -1,7 +1,6 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libwebkit"
     2.7 -SOURCE="webkit"
     2.8  VERSION="1.2.7"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="xHTML render library."
    2.11 @@ -16,10 +15,12 @@
    2.12  libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
    2.13  gobject-introspection-dev tar gettext"
    2.14  MAINTAINER="mallory@sweetpeople.org"
    2.15 +SOURCE="webkit"
    2.16  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.17  WEB_SITE="http://webkitgtk.org"
    2.18  WGET_URL="$WEB_SITE/$TARBALL"
    2.19  
    2.20 +
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24 @@ -30,11 +31,11 @@
    2.25  		--infodir=/usr/share/info \
    2.26  		--mandir=/usr/share/man \
    2.27  		--enable-introspection=yes \
    2.28 -        --enable-video=no \
    2.29 +		--enable-video=no \
    2.30  		--enable-jit=yes \
    2.31 -		--with-unicode-backend=glib \
    2.32 -		$CONFIGURE_ARGS &&
    2.33 -	make -j1 && make DESTDIR=$PWD/_pkg install
    2.34 +		--with-unicode-backend=glib &&
    2.35 +	make -j1 && make DESTDIR=$DESTDIR install
    2.36 +	cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
    2.37  }
    2.38  
    2.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.40 @@ -42,6 +43,6 @@
    2.41  {
    2.42  	mkdir -p $fs/usr/lib $fs/usr/bin
    2.43  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.44 -	cp -a $src/Programs/GtkLauncher $fs/usr/bin/
    2.45 +	cp -a $_pkg/usr/bin/GtkLauncher $fs/usr/bin/
    2.46  	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    2.47  }
     3.1 --- a/webkit-web-inspector/receipt	Sun Feb 13 01:29:58 2011 +0000
     3.2 +++ b/webkit-web-inspector/receipt	Sun Feb 13 01:40:21 2011 +0000
     3.3 @@ -1,11 +1,11 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="webkit-web-inspector"
     3.7 -SOURCE="webkit"
     3.8  VERSION="1.2.7"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Webkit development tools"
    3.11  DEPENDS="libwebkit"
    3.12 +SOURCE="webkit"
    3.13  WANTED="libwebkit"
    3.14  MAINTAINER="mallory@sweetpeople.org"
    3.15  WEB_SITE="http://webkitgtk.org"
    3.16 @@ -13,8 +13,7 @@
    3.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.18  genpkg_rules()
    3.19  {
    3.20 -	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    3.21 -	mkdir -p $fs/usr/
    3.22 +	mkdir -p $fs/usr/share
    3.23  	cp -a $_pkg/usr/bin $fs/usr/
    3.24 -	cp -a $_pkg/usr/share $fs/usr/
    3.25 +	cp -a $_pkg/usr/share/webkit-1.0 $fs/usr/share
    3.26  }