diff options
Diffstat (limited to 'sources/make')
| -rw-r--r-- | sources/make/make.spec | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/sources/make/make.spec b/sources/make/make.spec index b8ac35c..99a0d08 100644 --- a/sources/make/make.spec +++ b/sources/make/make.spec @@ -2,4 +2,32 @@ SRC_HASH="dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3" SRC_NAME="make" SRC_URL="https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz" -SRC_VERSION="4.4.1"
\ No newline at end of file +SRC_VERSION="4.4.1" + +build() { + tar xf ../$SRC_FILENAME + cd make-*/ + ./configure \ + --bindir=$TT_BINDIR \ + --build=$TT_BUILD \ + --datarootdir=/usr/share \ + --enable-year2038 \ + --host=$TT_TARGET \ + --includedir=$TT_INCLUDEDIR \ + --libdir=$TT_LIBDIR \ + --libexecdir=$TT_LIBDIR \ + --localstatedir=/var \ + --prefix=$TT_PREFIX \ + --runstatedir=/run \ + --sbindir=$TT_BINDIR \ + --sysconfdir=$TT_CONFDIR + make -O -j $TT_PROCS +} + +clean() { + rm -rf make-*/ +} + +package() { + make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR +}
\ No newline at end of file |
