wok-current rev 11652

Add: mapserver
author Eric Joseph-Alexandre < erjo@slitaz.org>
date Sat Feb 11 01:43:53 2012 +0100 (2012-02-11)
parents f7460b4117e7
children f4bf102ffcf9
files ario/receipt mapserver/receipt mapserver/stuff/mapserver-Makefile.u
line diff
     1.1 --- a/ario/receipt	Wed Feb 08 11:11:32 2012 +0100
     1.2 +++ b/ario/receipt	Sat Feb 11 01:43:53 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ario"
     1.7 -VERSION="1.5.1"
     1.8 +VERSION="1.4.4"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="GTK clien for MPD"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -12,7 +12,7 @@
    1.13  
    1.14  DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \
    1.15  libunique libtasn1"
    1.16 -BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \
    1.17 +BUILD_DEPENDS="glib-dev gnutls-dev taglib-dev intltool libunique-dev \
    1.18  libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21 @@ -25,6 +25,7 @@
    1.22  		--mandir=/usr/share/man \
    1.23  		--disable-dbus \
    1.24  		--disable-notify \
    1.25 +		--disable-mpdidle \
    1.26  		--disable-audioscrobbler \
    1.27  		--disable-avahi \
    1.28  		$CONFIGURE_ARGS &&
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mapserver/receipt	Sat Feb 11 01:43:53 2012 +0100
     2.3 @@ -0,0 +1,46 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mapserver"
     2.7 +VERSION="6.0.1"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="Open Source platform for publishing spatial data."
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +WEB_SITE="mapserver.org"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
    2.14 +
    2.15 +DEPENDS="giflib libgd libgdal"
    2.16 +BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
    2.17 + apache-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
    2.23 +	./configure \
    2.24 +		--with-threads \
    2.25 +		--with-proj \
    2.26 +		--with-postgis \
    2.27 +		--with-geos \
    2.28 +		--with-mapscript \
    2.29 +		--with-gdal \
    2.30 +		--with-ogr \
    2.31 +		--with-tiff \
    2.32 +		--with-jpeg \
    2.33 +		--with-gd \
    2.34 +		--with-freetype \
    2.35 +		--with-wmsclient\
    2.36 +		--with-wmsclient \
    2.37 +		--with-wfsclient \
    2.38 +		--with-wcs \
    2.39 +		--disable-debug \
    2.40 +	$CONFIGURE_ARGS && make && make install-force
    2.41 +}
    2.42 +
    2.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.44 +genpkg_rules()
    2.45 +{
    2.46 +	
    2.47 +	mkdir -p $fs/var/www/cgi-bin
    2.48 +	cp -a $install/usr/bin/mapserv  $fs/var/www/cgi-bin
    2.49 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mapserver/stuff/mapserver-Makefile.u	Sat Feb 11 01:43:53 2012 +0100
     3.3 @@ -0,0 +1,19 @@
     3.4 +--- mapserver-6.0.1-ori/Makefile.in
     3.5 ++++ mapserver-6.0.1/Makefile.in
     3.6 +@@ -432,10 +432,12 @@
     3.7 + 	@echo ""
     3.8 + 
     3.9 + install-force:	all
    3.10 +-	cp $(EXE_LIST) $(INST_BIN)
    3.11 +-	if test -x $(LIBMAP_SHARED) ; then \
    3.12 +-	  cp $(LIBMAP_SH_VER) $(INST_LIB) ; \
    3.13 +-	  (cd $(INST_LIB) ; ln -f -s $(LIBMAP_SH_VER) $(LIBMAP_SHARED) ) ; \
    3.14 ++	mkdir -p $(DESTDIR)$(INST_BIN)
    3.15 ++	mkdir -p $(DESTDIR)$(INST_LIB)
    3.16 ++	cp $(EXE_LIST) $(DESTDIR)$(INST_BIN)
    3.17 ++	if test -x $(DESTDIR)$(LIBMAP_SHARED) ; then \
    3.18 ++	  cp $(LIBMAP_SH_VER) $(DESTDIR)$(INST_LIB) ; \
    3.19 ++	  (cd $(DESTDIR)$(INST_LIB) ; ln -f -s $(LIBMAP_SH_VER) $(LIBMAP_SHARED) ) ; \
    3.20 + 	fi
    3.21 + 
    3.22 + uninstall: