jre: remove broken libraries, install dependency file for revdep, move man-pages
This commit is contained in:
parent
20ba3ebdeb
commit
9778370301
@ -1,3 +1,6 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/revdep.d/
|
||||
-rw-r--r-- root/root etc/revdep.d/jre
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
lrwxrwxrwx root/root usr/bin/java -> ../lib/java/bin/java
|
||||
@ -27,8 +30,6 @@ drwxr-xr-x root/root usr/lib/jre/lib/amd64/
|
||||
drwxr-xr-x root/root usr/lib/jre/lib/amd64/jli/
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/jli/libjli.so
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/jvm.cfg
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/libavplugin-53.so
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/libavplugin-54.so
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/libawt.so
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/libawt_headless.so
|
||||
-rwxr-xr-x root/root usr/lib/jre/lib/amd64/libawt_xawt.so
|
||||
@ -350,17 +351,18 @@ drwxr-xr-x root/root usr/lib/jre/plugin/
|
||||
drwxr-xr-x root/root usr/lib/jre/plugin/desktop/
|
||||
-rw-r--r-- root/root usr/lib/jre/plugin/desktop/sun_java.desktop
|
||||
-rw-r--r-- root/root usr/lib/jre/plugin/desktop/sun_java.png
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/java.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/javaws.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/jjs.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/keytool.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/orbd.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/pack200.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/policytool.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/rmid.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/rmiregistry.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/servertool.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/tnameserv.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/unpack200.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/java.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/javaws.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/jjs.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/keytool.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/orbd.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/pack200.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/policytool.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rmid.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rmiregistry.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/servertool.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/tnameserv.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/unpack200.1.gz
|
||||
|
14
jre/Pkgfile
14
jre/Pkgfile
@ -5,19 +5,27 @@
|
||||
|
||||
name=jre
|
||||
version=1.8.0_74
|
||||
release=1
|
||||
release=2
|
||||
source=(file:///$name-8u${version#*_}-linux-x64.tar.gz)
|
||||
|
||||
build(){
|
||||
cd $name$version
|
||||
|
||||
install -d $PKG/usr/{bin,man,lib/$name}
|
||||
mv man/man1 $PKG/usr/man
|
||||
install -d $PKG/usr/{bin,share/man,lib/$name}
|
||||
mv man/man1 $PKG/usr/share/man
|
||||
mv bin lib plugin $PKG/usr/lib/$name
|
||||
|
||||
# several symlinks
|
||||
ln -s $name $PKG/usr/lib/java
|
||||
ln -s ../lib/java/bin/java $PKG/usr/bin/java
|
||||
ln -s ../lib/java/bin/javaws $PKG/usr/bin/javaws
|
||||
ln -s ../lib/java/bin/keytool $PKG/usr/bin/keytool
|
||||
ln -s ../lib/java/bin/jcontrol $PKG/usr/bin/jcontrol
|
||||
|
||||
# remove broken libraries
|
||||
rm $PKG/usr/lib/jre/lib/amd64/libavplugin-*.so
|
||||
|
||||
# revdep
|
||||
install -d $PKG/etc/revdep.d
|
||||
printf '%s\n%s\n' /usr/lib/jre/lib/amd64/{,server} > $PKG/etc/revdep.d/jre
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user