wok-6.x rev 11630

Add: proj, proj-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Feb 01 00:26:34 2012 +0100 (2012-02-01)
parents c47e4f56e593
children 9532fd8edd29
files proj-dev/receipt proj/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/proj-dev/receipt	Wed Feb 01 00:26:34 2012 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="proj-dev"
     1.7 +VERSION="4.7.0"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Proj dev files."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +WEB_SITE="http://trac.osgeo.org/proj/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WANTED="proj"
    1.14 +
    1.15 +DEPENDS="proj"
    1.16 +BUILD_DEPENDS=""
    1.17 +
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/lib 
    1.23 +	
    1.24 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 +	cp -a $install/usr/include $fs/usr
    1.26 +	
    1.27 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/proj/receipt	Wed Feb 01 00:26:34 2012 +0100
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="proj"
     2.7 +VERSION="4.7.0"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="Cartographic Projections Library."
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +WEB_SITE="http://trac.osgeo.org/proj/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="http://download.osgeo.org/proj/$TARBALL"
    2.14 +
    2.15 +DEPENDS=""
    2.16 +BUILD_DEPENDS=""
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	./configure $CONFIGURE_ARGS && make && make install
    2.22 +}
    2.23 +
    2.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.25 +genpkg_rules()
    2.26 +{
    2.27 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.28 +	
    2.29 +	cp -a $install/usr/bin $fs/usr
    2.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.31 +	cp -a $install/usr/share/proj $fs/usr/share
    2.32 +	
    2.33 +}