jpeg: be friendly with virtual pkgs and use replaces.
This commit is contained in:
parent
a50099e263
commit
7dfa8b4779
|
@ -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
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user