jpeg: be friendly with virtual pkgs and use replaces.

This commit is contained in:
Juan RP 2011-10-15 12:27:44 +02:00
parent a50099e263
commit 7dfa8b4779
3 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,9 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
replaces="jpeg-devel>=0"
Add_dependency run glibc-devel
Add_dependency run jpeg

View file

@ -5,6 +5,9 @@ long_desc="${long_desc}
This package contains tools to manipulate JPG files."
revision=1
replaces="jpeg-tools>=0"
Add_dependency run glibc
Add_dependency run jpeg ">=${version}"

View file

@ -1,6 +1,7 @@
# Template build file for 'jpeg'.
pkgname=jpeg
version=8c
revision=1
distfiles="http://www.ijg.org/files/jpegsrc.v${version}.tar.gz"
build_style=gnu_configure
make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr
@ -21,6 +22,7 @@ long_desc="
subpackages="jpeg-devel jpeg-tools"
Add_dependency run glibc
replaces="jpeg>=0"
post_install()
{