Renamed python3 as python and added mpc to base

This commit is contained in:
PktSurf 2024-11-03 23:17:10 +05:30
parent 2cd0f283a3
commit bbd4a6ce9e
5 changed files with 39 additions and 2 deletions

View file

@ -71,7 +71,7 @@ pciutils
openssl
sqlite
libpng
python3
python
libxml2
libxslt
docbook
@ -128,6 +128,7 @@ e2fsprogs
gptfdisk
gmp
mpfr
mpc
libcroco
libexif
fribidi

36
base/mpc/smbuild Executable file
View file

@ -0,0 +1,36 @@
# Maintainer: PktSurf <smlinux@pktsurf.in>
# Generated by mksm SMLinux build file generator version 0.101
app=mpc
version=1.3.1
build=1sml
homepage="https://www.multiprecision.org/"
download="http://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz"
desc="Support utility for gcc"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--enable-shared
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
f41cdac7a2e59dc4841dce14f0627a4c9c1375533bb2791a3ca19872c22638fcce677b216978acc3767a4617f9de7647fcc8a005e0af4c9129fa9e4be5ecfa2f mpc-1.3.1.tar.lz
"

View file

@ -1,5 +1,5 @@
# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python3
app=python
version=3.9.20
build=1sml
homepage="https://www.python.org/"