@ -43,12 +43,15 @@ while getopts "h?s:b:i:cC" opt; do
exit 0
;;
s)
mkdir -p "$OPTARG"
dir_source="$(realpath "$OPTARG")"
b)
dir_build="$(realpath "$OPTARG")"
i)
dir_install="$(realpath "$OPTARG")"
c)
@ -20,7 +20,7 @@ extract "$name-$version.tar.gz" \
# Compilation instructions
cd "$name-$version"
./configure
./configure --prefix=/usr
make
# Know if the user wants the package to be checked
@ -1,5 +1,5 @@
name=linux
version=3.17.3
version=3.17.4
dlextract "https://www.kernel.org/pub/$name/kernel/v3.x/$name-$version.tar.xz" \
"d0e66347360aceb3cdb94f5d1d7880f2"
@ -9,6 +9,6 @@ cd "$name-$version"
sh Configure -des -Dprefix=/tools -Dlibs=-lm
cp perl cpan/podlators/pod2man "$dir_install/tools/bin"
cp perl "$dir_install/tools/bin"
mkdir -p "$dir_install/tools/lib/perl5"
cp -r lib "$dir_install/tools/lib/perl5/$version"