wok-current annotate librsync/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (46 hours ago) |
parents | 65d7d867e0c1 |
children |
rev | line source |
---|---|
pascal@13326 | 1 # SliTaz package receipt. |
pascal@13326 | 2 |
pascal@13326 | 3 PACKAGE="librsync" |
pascal@13326 | 4 VERSION="0.9.7" |
pascal@13326 | 5 CATEGORY="development" |
pascal@13326 | 6 SHORT_DESC="Library for the rsync remote-delta algorithm" |
pascal@13326 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14716 | 8 LICENSE="LGPL2.1" |
pascal@25460 | 9 WEB_SITE="https://librsync.sourceforge.net/" |
pascal@13326 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13326 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13326 | 12 |
pascal@13326 | 13 DEPENDS="zlib bzlib popt" |
pascal@13326 | 14 BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev" |
pascal@13326 | 15 |
pascal@24411 | 16 # What is the latest version available today? |
pascal@24411 | 17 current_version() |
pascal@24411 | 18 { |
pascal@24411 | 19 wget -O - https://sourceforge.net/projects/librsync/files/librsync/ 2>/dev/null | \ |
pascal@24411 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*/librsync/||;s|/.*||;q' |
pascal@24411 | 22 } |
pascal@24411 | 23 |
pascal@13326 | 24 # Rules to configure and make the package. |
pascal@13326 | 25 compile_rules() |
pascal@13326 | 26 { |
pascal@13326 | 27 cd $src |
pascal@13326 | 28 ./configure --prefix=/usr \ |
pascal@13326 | 29 --mandir=/usr/share/man \ |
pascal@13326 | 30 --infodir=/usr/share/info \ |
pascal@13326 | 31 $CONFIGURE_ARGS && |
pascal@13326 | 32 make && make DESTDIR=$DESTDIR install |
pascal@13326 | 33 } |
pascal@13326 | 34 |
pascal@13326 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13326 | 36 genpkg_rules() |
pascal@13326 | 37 { |
pascal@13326 | 38 mkdir $fs/usr |
pascal@13327 | 39 cp -a $install/usr/include $fs/usr |
pascal@13326 | 40 cp -a $install/usr/bin $fs/usr |
pascal@13326 | 41 cp -a $install/usr/lib $fs/usr |
pascal@13326 | 42 } |