Skip to content

Commit

Permalink
lrzip: update to 0.650.
Browse files Browse the repository at this point in the history
* enable ASM for x86
* liblrzip is deprecated
  • Loading branch information
tibequadorian authored and leahneukirchen committed Mar 17, 2022
1 parent 90ed79a commit 21e3854
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 20 deletions.
1 change: 0 additions & 1 deletion srcpkgs/liblrzip

This file was deleted.

1 change: 0 additions & 1 deletion srcpkgs/lrzip-devel

This file was deleted.

27 changes: 10 additions & 17 deletions srcpkgs/lrzip/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'lrzip'
pkgname=lrzip
version=0.641
version=0.650
revision=1
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
Expand All @@ -10,25 +10,18 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lrzip.kolivas.org/"
distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
checksum=9b6b4bb1ae76dafbaab96ec9d50d41af5fed45a6c4f2e06feea828c2cd8025c0
checksum=e07b2b3511689e4aaf7404d289feba5d9d6e1170c448f85e393a11249502dd66

case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) hostmakedepends+=" nasm";;
esac

pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}

lrzip-devel_package() {
short_desc+=" - development files"
depends="liblrzip-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
liblrzip_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
# The library is deprecated as of lrzip 0.650.
post_install() {
rm -f ${DESTDIR}/usr/include/Lrzip.h
rm -f ${DESTDIR}/usr/lib/pkgconfig/lrzip.pc
}
4 changes: 3 additions & 1 deletion srcpkgs/removed-packages/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1
revision=65
revision=66
build_style=meta
short_desc="Uninstalls packages removed from repository"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
Expand Down Expand Up @@ -211,6 +211,7 @@ replaces="
libgksu<=2.0.12_5
libglib-static<=2.58.3_5
libgtkhtml<=4.10.0_1
liblrzip<=0.641_1
libmagick6-devel<=6.9.12.12_2
libmagick6-perl<=6.9.12.12_2
libmagick6<=6.9.12.12_2
Expand All @@ -228,6 +229,7 @@ replaces="
livewallpaper<=0.5.0_2
llvm3.9<=3.9.1_5
lprng<=3.8.C_1
lrzip-devel<=0.641_1
ls++-git<=20140919_3
luxmark<=3.1_9
luxrays-devel<=3.1_18
Expand Down

0 comments on commit 21e3854

Please sign in to comment.