wok-4.x annotate git/receipt @ rev 1825
Add git
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Tue Dec 09 04:25:26 2008 -0800 (2008-12-09) |
parents | |
children | 3ad7958e7a41 |
rev | line source |
---|---|
b1+slitaz@1825 | 1 # SliTaz package receipt. |
b1+slitaz@1825 | 2 |
b1+slitaz@1825 | 3 PACKAGE="git" |
b1+slitaz@1825 | 4 VERSION="1.6.0.5" |
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 |
b1+slitaz@1825 | 18 make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1 |
b1+slitaz@1825 | 19 make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1 DESTDIR=$PWD/_pkg install |
b1+slitaz@1825 | 20 } |
b1+slitaz@1825 | 21 |
b1+slitaz@1825 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
b1+slitaz@1825 | 23 genpkg_rules() |
b1+slitaz@1825 | 24 { |
b1+slitaz@1825 | 25 mkdir -p $fs |
b1+slitaz@1825 | 26 cp -a $_pkg/usr $fs/ |
b1+slitaz@1825 | 27 strip -s $fs/usr/bin/* $fs/usr/libexec/git-core/* || true |
b1+slitaz@1825 | 28 } |