wok-next annotate git/receipt @ rev 11141
Up: wordwarvi to 1.00.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 21:04:58 2011 +0000 (2011-10-26) |
parents | b1b298bed40e |
children | 59092b890afd |
rev | line source |
---|---|
b1+slitaz@1825 | 1 # SliTaz package receipt. |
b1+slitaz@1825 | 2 |
b1+slitaz@1825 | 3 PACKAGE="git" |
slaxemulator@11009 | 4 VERSION="1.7.7" |
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" |
slaxemulator@11009 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11009 | 9 WEB_SITE="http://git.or.cz" |
slaxemulator@11009 | 10 WGET_URL="http://git-core.googlecode.com/files/$TARBALL" |
slaxemulator@11009 | 11 CROSS="bug: can't run test and make package." |
slaxemulator@11009 | 12 |
b1+slitaz@1825 | 13 DEPENDS="zlib openssl curl expat" |
slaxemulator@5343 | 14 BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev tar bzip2" |
b1+slitaz@1825 | 15 |
b1+slitaz@1825 | 16 # Rules to configure and make the package. |
b1+slitaz@1825 | 17 compile_rules() |
b1+slitaz@1825 | 18 { |
b1+slitaz@1825 | 19 cd $src |
pascal@5425 | 20 [ -L /bin/tar ] && tazpkg get-install tar --forced |
pankso@4165 | 21 ./configure \ |
pankso@4165 | 22 --prefix=/usr \ |
pankso@4165 | 23 --libexecdir=/usr/lib/git \ |
pankso@4165 | 24 --without-tcltk \ |
slaxemulator@11009 | 25 --build=$HOST_SYSTEM \ |
slaxemulator@11009 | 26 --host=$HOST_SYSTEM && |
pankso@4165 | 27 make THREADED_DELTA_SEARCH=1 |
slaxemulator@11009 | 28 make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install |
b1+slitaz@1825 | 29 } |
b1+slitaz@1825 | 30 |
b1+slitaz@1825 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
b1+slitaz@1825 | 32 genpkg_rules() |
b1+slitaz@1825 | 33 { |
b1+slitaz@1825 | 34 mkdir -p $fs |
slaxemulator@11009 | 35 cp -a $install/usr $fs/ |
slaxemulator@11009 | 36 strip -s $fs/usr/lib/git/git-core/* 2>/dev/null || true |
b1+slitaz@1825 | 37 } |