wok-current rev 12388

libstroke: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 23:01:09 2012 +0000 (2012-04-19)
parents 697fd27f725e
children 2b8af769d8a8
files libstroke-dev/receipt libstroke/receipt
line diff
     1.1 --- a/libstroke-dev/receipt	Thu Apr 19 22:52:39 2012 +0000
     1.2 +++ b/libstroke-dev/receipt	Thu Apr 19 23:01:09 2012 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="libstroke devel files"
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +DEPENDS="libstroke"
     1.8  WANTED="libstroke"
     1.9  WEB_SITE="http://etla.net/libstroke/" 
    1.10  
    1.11 @@ -12,6 +13,6 @@
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/lib 
    1.15 -	cp -a $_pkg/usr/include $fs/usr
    1.16 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
    1.17 +	cp -a $install/usr/include $fs/usr
    1.18 +	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    1.19  }
     2.1 --- a/libstroke/receipt	Thu Apr 19 22:52:39 2012 +0000
     2.2 +++ b/libstroke/receipt	Thu Apr 19 23:01:09 2012 +0000
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="Stroke translation library"
     2.5  MAINTAINER="pankso@slitaz.org"
     2.6  DEPENDS=""
     2.7 -BUILD_DEPENDS="xorg-dev"
     2.8 +BUILD_DEPENDS="xorg-libX11-dev"
     2.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.10  WEB_SITE="http://etla.net/libstroke/"
    2.11  WGET_URL="$WEB_SITE/$TARBALL"
    2.12 @@ -15,13 +15,13 @@
    2.13  compile_rules()
    2.14  {
    2.15  	cd $src
    2.16 -	./configure --prefix=/usr &&
    2.17 -	make && make DESTDIR=$PWD/_pkg install
    2.18 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    2.19 +	make && make DESTDIR=$DESTDIR install
    2.20  }
    2.21  
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25  	mkdir -p $fs/usr/lib
    2.26 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.27 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.28  }