mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Added autoconf, automake, bsdutils, libtool, musl-fts, perl, and pkgconf, and replaced m4
This commit is contained in:
27
sources/libtool/libtool.spec
Normal file
27
sources/libtool/libtool.spec
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675"
|
||||
SRC_NAME="libtool"
|
||||
SRC_URL="https://ftp.gnu.org/gnu/libtool/libtool-2.5.4.tar.xz"
|
||||
SRC_VERSION="2.5.4"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd libtool-*/
|
||||
./configure $TT_AUTOCONF_COMMON --disable-static
|
||||
make -j $TT_PROCS
|
||||
# NOTE: For some reason, libtoolize uses the env command to locate sh, but
|
||||
# we don't have the env command yet, because env is part of bsdutils,
|
||||
# which requires musl-fts to function, which we can't build without
|
||||
# libtoolize. Strangely enough, libtool is hard-coded to /bin/sh, so
|
||||
# I don't know why libtoolize uses /usr/bin/env. ~ahill
|
||||
sed -i "s|/usr/bin/env sh|/bin/sh" libtoolize
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf libtool-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd libtool-*/
|
||||
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
Reference in New Issue
Block a user