wok-next annotate git/receipt @ rev 4637
Up: web-applications (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 24 18:22:10 2009 +0100 (2009-12-24) |
parents | 381d4c714d7a |
children | 4767edda18d8 |
rev | line source |
---|---|
b1+slitaz@1825 | 1 # SliTaz package receipt. |
b1+slitaz@1825 | 2 |
b1+slitaz@1825 | 3 PACKAGE="git" |
pankso@4165 | 4 VERSION="1.6.4.4" |
b1+slitaz@1825 | 5 CATEGORY="development" |
b1+slitaz@1825 | 6 SHORT_DESC="Fast version control system" |
b1+slitaz@1825 | 7 MAINTAINER="b1+slitaz@nagel.org" |
b1+slitaz@1825 | 8 DEPENDS="zlib openssl curl expat" |
b1+slitaz@1825 | 9 BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl tar bzip2" |
b1+slitaz@1825 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
b1+slitaz@1825 | 11 WEB_SITE="http://git.or.cz" |
b1+slitaz@1825 | 12 WGET_URL="http://kernel.org/pub/software/scm/git/$TARBALL" |
b1+slitaz@1825 | 13 |
b1+slitaz@1825 | 14 # Rules to configure and make the package. |
b1+slitaz@1825 | 15 compile_rules() |
b1+slitaz@1825 | 16 { |
b1+slitaz@1825 | 17 cd $src |
pankso@4165 | 18 ./configure \ |
pankso@4165 | 19 --prefix=/usr \ |
pankso@4165 | 20 --libexecdir=/usr/lib/git \ |
pankso@4165 | 21 --without-tcltk \ |
pankso@4165 | 22 $CONFIGURE_ARGS && |
pankso@4165 | 23 make THREADED_DELTA_SEARCH=1 |
pankso@4165 | 24 make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install |
b1+slitaz@1825 | 25 } |
b1+slitaz@1825 | 26 |
b1+slitaz@1825 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
b1+slitaz@1825 | 28 genpkg_rules() |
b1+slitaz@1825 | 29 { |
b1+slitaz@1825 | 30 mkdir -p $fs |
b1+slitaz@1825 | 31 cp -a $_pkg/usr $fs/ |
pankso@4165 | 32 strip -s $fs/usr/lib/git/git-core/* |
b1+slitaz@1825 | 33 } |