wok diff git/receipt @ rev 3322

add file-dev | need magic.h for splashy
author Allan Pinto <allan316@gmail.com>
date Tue Jun 09 18:38:41 2009 +0000 (2009-06-09)
parents
children 3ad7958e7a41
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/git/receipt	Tue Jun 09 18:38:41 2009 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="git"
     1.7 +VERSION="1.6.0.5"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Fast version control system"
    1.10 +MAINTAINER="b1+slitaz@nagel.org"
    1.11 +DEPENDS="zlib openssl curl expat"
    1.12 +BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl tar bzip2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://git.or.cz"
    1.15 +WGET_URL="http://kernel.org/pub/software/scm/git/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1
    1.22 +	make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1 DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs
    1.29 +	cp -a $_pkg/usr $fs/
    1.30 +	strip -s $fs/usr/bin/* $fs/usr/libexec/git-core/* || true
    1.31 +}