bzip2: move so symlink to main pkg; bootstrap pkg, supersedes chroot-bzip2.
This commit is contained in:
parent
08583cc72e
commit
5dc3e3c874
|
@ -1,7 +1,8 @@
|
|||
# Template build file for 'bzip2'.
|
||||
pkgname=bzip2
|
||||
version=1.0.6
|
||||
revision=6
|
||||
revision=7
|
||||
bootstrap=yes
|
||||
homepage="http://www.bzip.org"
|
||||
distfiles="http://www.bzip.org/$version/$pkgname-$version.tar.gz"
|
||||
short_desc="The bzip2 compression library"
|
||||
|
@ -38,17 +39,19 @@ do_install() {
|
|||
}
|
||||
|
||||
bzip2-devel_package() {
|
||||
depends="bzip2>=${version}"
|
||||
short_desc+=" -- development files"
|
||||
replaces="chroot-bzip2>=0"
|
||||
depends="bzip2>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
bzip2_package() {
|
||||
conflicts="chroot-bzip2>=0"
|
||||
replaces="chroot-bzip2>=0"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue