wok annotate git/receipt @ rev 9618
Fixed tazdrop to us tazwok get-src slitaz-tools --target=src. This way its not downloading every time its build.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Apr 17 20:36:34 2011 +0000 (2011-04-17) |
parents | 95ca7b3bc202 |
children | b1b298bed40e |
rev | line source |
---|---|
b1+slitaz@1825 | 1 # SliTaz package receipt. |
b1+slitaz@1825 | 2 |
b1+slitaz@1825 | 3 PACKAGE="git" |
slaxemulator@9517 | 4 VERSION="1.7.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" |
slaxemulator@5343 | 9 BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev 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 |
pascal@5425 | 18 [ -L /bin/tar ] && tazpkg get-install tar --forced |
pankso@4165 | 19 ./configure \ |
pankso@4165 | 20 --prefix=/usr \ |
pankso@4165 | 21 --libexecdir=/usr/lib/git \ |
pankso@4165 | 22 --without-tcltk \ |
pankso@4165 | 23 $CONFIGURE_ARGS && |
pankso@4165 | 24 make THREADED_DELTA_SEARCH=1 |
pankso@4165 | 25 make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install |
b1+slitaz@1825 | 26 } |
b1+slitaz@1825 | 27 |
b1+slitaz@1825 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
b1+slitaz@1825 | 29 genpkg_rules() |
b1+slitaz@1825 | 30 { |
b1+slitaz@1825 | 31 mkdir -p $fs |
b1+slitaz@1825 | 32 cp -a $_pkg/usr $fs/ |
pascal@9402 | 33 strip -s $fs/usr/lib/git/git-core/* || true |
b1+slitaz@1825 | 34 } |