|
|
|
@ -14,25 +14,26 @@
|
|
|
|
|
|
|
|
|
|
makeopt= |
|
|
|
|
makeinstopt= |
|
|
|
|
|
|
|
|
|
libdir="$libdir/mime" |
|
|
|
|
|
|
|
|
|
hook_add premake 5 "mime_install" |
|
|
|
|
mime_install() |
|
|
|
|
{ |
|
|
|
|
mkdir -p $root/usr/lib/mime/packages |
|
|
|
|
mkdir -p $root/usr/share/man/man1 $root/usr/share/man/man5 $root/usr/share/man/man8 |
|
|
|
|
mkdir -p $rooti$docdir/mime-support |
|
|
|
|
mime_install() { |
|
|
|
|
mkdir -p "$root$libdir/packages" |
|
|
|
|
mkdir -p $root$mandir/man{1,5,8} |
|
|
|
|
|
|
|
|
|
install -m 644 mime.types $root$sysconfdir |
|
|
|
|
install -m 644 mailcap $root/usr/lib/mime/ |
|
|
|
|
install -m 644 mailcap.order $root$sysconfdir |
|
|
|
|
install -m 644 mailcap.man $root$mandir/man5/mailcap.5 |
|
|
|
|
install -m 644 mailcap.order.man $root$mandir/man5/mailcap.order.5 |
|
|
|
|
install -m 755 update-mime $root$sbindir |
|
|
|
|
install -m 644 update-mime.man $root$mandir/man8/update-mime.8 |
|
|
|
|
install -m 755 run-mailcap $root$bindir |
|
|
|
|
install -m 644 run-mailcap.man $root$mandir/man1/run-mailcap.1 |
|
|
|
|
install -m 644 debian/README $root$docdir/mime-support/copyright |
|
|
|
|
install -m 755 debian-view $root/usr/lib/mime/ |
|
|
|
|
install -m 755 playaudio $root/usr/lib/mime/ |
|
|
|
|
install -m 755 playdsp $root/usr/lib/mime/ |
|
|
|
|
install -m 644 mailcap.entries $root/usr/lib/mime/packages/mime-support |
|
|
|
|
install -m 644 mime.types "$root$sysconfdir" |
|
|
|
|
install -m 644 mailcap.order "$root$sysconfdir" |
|
|
|
|
install -m 644 mailcap.man "$root$mandir/man5/mailcap.5" |
|
|
|
|
install -m 644 mailcap.order.man "$root$mandir/man5/mailcap.order.5" |
|
|
|
|
install -m 644 update-mime.man "$root$mandir/man8/update-mime.8" |
|
|
|
|
install -m 644 run-mailcap.man "$root$mandir/man1/run-mailcap.1" |
|
|
|
|
install -m 755 run-mailcap "$root$bindir" |
|
|
|
|
install -m 755 update-mime "$root$sbindir" |
|
|
|
|
install -m 644 debian/README "$root$docdir/copyright" |
|
|
|
|
install -m 644 mailcap "$root$libdir" |
|
|
|
|
install -m 755 debian-view "$root$libdir" |
|
|
|
|
install -m 755 playaudio "$root$libdir" |
|
|
|
|
install -m 755 playdsp "$root$libdir" |
|
|
|
|
install -m 644 mailcap.entries "$root$libdir/packages/mime-support" |
|
|
|
|
} |
|
|
|
|