Last active
December 29, 2015 17:59
-
-
Save Chocimier/7707758 to your computer and use it in GitHub Desktop.
skrypt tworzenia modułu z polskojęzycznymi manualami do Slaksa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
. /usr/share/slax/slaxbuildlib | |
SLAX_BUNDLE_NAME="man-pages-pl" | |
SLAX_BUNDLE_VERSION="20070628" | |
SLAX_BUNDLE_DESCRIPTION="Manual pages in Polish language" | |
SLAX_BUNDLE_CATEGORIES="multilang" | |
SLAX_BUNDLES_REQUIRED="" | |
SLAX_BUNDLES_REQUIRED_TO_COMPILE_ONLY="" | |
SLAX_BUNDLE_MAINTAINER_NAME="Piotr Wójcik" | |
SLAX_BUNDLE_MAINTAINER_EMAIL="chocimier@tlen.pl" | |
SLAX_BUNDLE_SOURCE_DOWNLOAD[0]="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/man-PL28-06-2007.tar.gz" | |
SLAX_BUNDLE_SOURCE_DOWNLOAD[1]="https://gist.github.com/Chocimier/7841315/download" | |
check_variables_for_errors | |
download_all_sources | |
extract_all_sources | |
init_bundle_target_dir | |
activate_required_bundles | |
mkdir -p ${SLAX_BUNDLE_TARGET}/usr/local/man | |
mkdir -p ${SLAX_BUNDLE_TARGET}/usr/lib | |
cp -r pl_PL ${SLAX_BUNDLE_TARGET}/usr/local/man | |
cp gist7841315-*/man.conf ${SLAX_BUNDLE_TARGET}/usr/lib/ | |
strip_unneeded_objects | |
create_slax_bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment