libjpeg-turbo: added virtualpkg.d plist files.
This commit is contained in:
parent
67a103cdbb
commit
f1b3615534
6 changed files with 45 additions and 5 deletions
10
srcpkgs/libjpeg-turbo/files/libjpeg-turbo-devel.virtualpkgd
Normal file
10
srcpkgs/libjpeg-turbo/files/libjpeg-turbo-devel.virtualpkgd
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>virtual-pkgver</key>
|
||||
<string>jpeg-devel-8</string>
|
||||
<key>target-pkgpattern</key>
|
||||
<string>libjpeg-turbo-devel>=0</string>
|
||||
</dict>
|
||||
</plist>
|
10
srcpkgs/libjpeg-turbo/files/libjpeg-turbo-tools.virtualpkgd
Normal file
10
srcpkgs/libjpeg-turbo/files/libjpeg-turbo-tools.virtualpkgd
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>virtual-pkgver</key>
|
||||
<string>jpeg-tools-8</string>
|
||||
<key>target-pkgpattern</key>
|
||||
<string>libjpeg-turbo-tools>=0</string>
|
||||
</dict>
|
||||
</plist>
|
10
srcpkgs/libjpeg-turbo/files/libjpeg-turbo.virtualpkgd
Normal file
10
srcpkgs/libjpeg-turbo/files/libjpeg-turbo.virtualpkgd
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>virtual-pkgver</key>
|
||||
<string>jpeg-8</string>
|
||||
<key>target-pkgpattern</key>
|
||||
<string>libjpeg-turbo>=0</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -11,9 +11,12 @@ Add_dependency run libjpeg-turbo
|
|||
provides="jpeg-devel-8"
|
||||
replaces="jpeg-devel>=0"
|
||||
|
||||
revision=1
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,12 @@ Add_dependency run libjpeg-turbo ">=${version}"
|
|||
provides="jpeg-tools-8"
|
||||
replaces="jpeg-tools>=0"
|
||||
|
||||
revision=1
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/{bin,share} ${DESTDIR}/usr
|
||||
vmove usr/bin usr
|
||||
vmove usr/share/man usr/share
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template build file for 'libjpeg-turbo'.
|
||||
pkgname=libjpeg-turbo
|
||||
version=1.1.1
|
||||
revision=1
|
||||
homepage="http://libjpeg-turbo.virtualgl.org/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -26,6 +27,8 @@ Add_dependency build nasm
|
|||
post_install() {
|
||||
vinstall jpegint.h 644 usr/include
|
||||
vinstall LICENSE.txt 644 usr/share/licenses/${pkgname}
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
|
||||
rm -f ${DESTDIR}/usr/bin/jpegut
|
||||
rm -f ${DESTDIR}/usr/bin/jpgtest
|
||||
|
|
Loading…
Reference in a new issue