wok-6.x annotate subversion/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | 934055de50e2 |
children | f606a1532612 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="subversion" |
Hans-G?nter@23677 | 4 VERSION="1.13.0" |
pascal@1423 | 5 CATEGORY="development" |
Hans-G?nter@21981 | 6 SHORT_DESC="Subversion Source Code Management access." |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@15482 | 8 LICENSE="Apache" |
Hans-G?nter@21981 | 9 WEB_SITE="https://subversion.apache.org" |
Hans-G?nter@21981 | 10 |
slaxemulator@7371 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24973 | 12 WGET_URL="https://archive.apache.org/dist/$PACKAGE/$TARBALL" |
erjo@1217 | 13 |
Hans-G?nter@21981 | 14 DEPENDS="apr-util libsqlite libsvn lz4-lib" |
Hans-G?nter@23677 | 15 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev expat-dev krb5-dev |
Hans-G?nter@23677 | 16 lz4-dev mysql-dev neon-dev python-dev sqlite-dev util-linux-uuid-dev" |
pankso@9759 | 17 |
pascal@24462 | 18 # What is the latest version available today? |
pascal@24462 | 19 current_version() |
pascal@24462 | 20 { |
pascal@24462 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24462 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24462 | 23 } |
pascal@24462 | 24 |
erjo@1217 | 25 # Rules to configure and make the package. |
erjo@1217 | 26 compile_rules() |
erjo@1217 | 27 { |
Hans-G?nter@21981 | 28 ./configure \ |
Hans-G?nter@21981 | 29 --prefix=/usr \ |
Hans-G?nter@21981 | 30 --with-utf8proc=internal \ |
Hans-G?nter@21981 | 31 $CONFIGURE_ARGS && |
pascal@18437 | 32 sed -i 's/^INSTALL_APACHE_MODS =.*/INSTALL_APACHE_MODS = false/' Makefile && |
slaxemulator@8714 | 33 make -j1 && |
pankso@9772 | 34 make -j1 DESTDIR=$DESTDIR install |
erjo@1217 | 35 } |
erjo@1217 | 36 |
erjo@1217 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 38 genpkg_rules() |
erjo@1217 | 39 { |
erjo@1217 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@23677 | 41 cp -a $install/usr/bin $fs/usr |
erjo@1217 | 42 } |