Discarded '--disable-nls' and similar build options in several build files to allow building of translation files

Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
This commit is contained in:
PktSurf 2023-04-01 09:45:53 +05:30
parent bc4f0d66ed
commit 03da9ec93f
50 changed files with 97 additions and 128 deletions

View file

@ -1,6 +1,6 @@
app=alsa-utils
version=1.2.3
build=1sml
build=2sml
homepage="http://alsa-project.org"
download=""
requires="netbsd-curses alsa-lib"
@ -21,7 +21,6 @@ build() {
--bindir=/bin \
--sbindir=/bin \
--mandir="/share/man" \
--disable-nls \
--disable-xmlto
make

View file

@ -1,6 +1,6 @@
app=attr
version=2.5.1
build=1sml
build=2sml
homepage="https://savannah.nongnu.org/projects/attr"
download="http://download.savannah.nongnu.org/releases/attr/attr-$version.tar.xz"
requires="musl"
@ -19,8 +19,7 @@ build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-static \
--disable-nls
--disable-static
make
make install DESTDIR="$pkg"

View file

@ -1,6 +1,6 @@
app=bash
version=5.0
build=2sml
build=3sml
homepage="https://www.gnu.org/software/bash/bash.html"
download="https://ftp.gnu.org/gnu/bash/bash-$version.tar.gz"
requires="netbsd-curses"
@ -26,8 +26,7 @@ build() {
--docdir="/share/doc/$app-$version" \
--without-bash-malloc \
--disable-rpath \
--enable-history \
--disable-nls
--enable-history
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=bison
version=3.1
build=2sml
build=3sml
homepage="https://www.gnu.org/software/bison/bison.html"
download="https://ftp.gnu.org/gnu/bison/bison-$version.tar.xz"
desc="parser generator similar to yacc"
@ -18,8 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-nls
--docdir="/share/doc/$app-$version"
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=coreutils
version=8.32
build=2sml
build=3sml
homepage="https://www.gnu.org/software/coreutils/coreutils.html"
download="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
desc="Core GNU utilities"
@ -24,8 +24,7 @@ build() {
--prefix="" \
--bindir=/bin \
--libexecdir=/lib \
--without-gmp \
--disable-nls
--without-gmp
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=dialog
version=1.3
build=1sml
build=2sml
homepage="https://invisible-island.net/archives/dialog/"
desc="display dialog boxes from shell scripts"
requires="netbsd-curses"
@ -18,7 +18,6 @@ build() {
./configure \
--prefix="" \
--bindir=/bin \
--disable-nls \
--with-shared \
--with-x

View file

@ -1,6 +1,6 @@
app=diffutils
version=3.6
build=1sml
build=2sml
homepage="https://www.gnu.org/software/diffutils/"
download="https://ftp.gnu.org/gnu/diffutils/diffutils-$version.tar.xz"
desc="Utilities to find and apply differences between files"
@ -23,8 +23,7 @@ build() {
CPPFLAGS="$($srcdir/gnulibfix lib)" \
LDFLAGS="-static" \
./configure \
--prefix="" \
--disable-nls
--prefix=""
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=e2fsprogs
version=1.45.3
build=3sml
build=4sml
homepage="http://e2fsprogs.sourceforge.net/"
download="https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$version/e2fsprogs-$version.tar.xz"
desc="Utilities for working with ext 2, 3 and 4 filesystems"
@ -27,7 +27,6 @@ build() {
--prefix="" \
--with-root-prefix="" \
--sbindir=/bin \
--disable-nls \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd

View file

@ -1,6 +1,6 @@
app=flex
version=2.6.4
build=2sml
build=3sml
homepage="https://github.com/westes/flex"
download="https://github.com/westes/flex/archive/refs/tags/v$version.tar.gz"
desc="fast lexical analyzer generator"
@ -20,7 +20,6 @@ build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-nls \
--disable-static
make

View file

@ -1,6 +1,6 @@
app=gawk
version=4.2.1
build=1sml
build=2sml
homepage="https://www.gnu.org/software/gawk/"
download="https://ftp.gnu.org/gnu/gawk/gawk-$version.tar.xz"
desc="POSIX-compliant pattern scanning and processing language"
@ -20,7 +20,6 @@ build() {
./configure \
--prefix="" \
--libexecdir=/lib \
--disable-nls \
--without-mpfr \
--without-readline

View file

@ -1,6 +1,6 @@
app=gdbm
version=1.23
build=1sml
build=2sml
homepage="https://www.gnu.org.ua/software/gdbm/"
download="https://ftp.gnu.org/gnu/gdbm/gdbm-$version.tar.gz"
desc="set of database routines that work similar to the standard UNIX dbm routines"
@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls \
--disable-static
make

View file

@ -1,6 +1,6 @@
app=glib
version=2.70.3
build=1sml
build=2sml
homepage="https://gitlab.gnome.org/GNOME/glib"
download="https://download.gnome.org/sources/glib/2.66/glib-$version.tar.xz"
desc="library of C routines"
@ -22,7 +22,6 @@ build() {
-Dman=false \
-Dgtk_doc=false \
-Dselinux=disabled \
-Dnls=disabled \
-Dinstalled_tests=false
ninja

View file

@ -1,6 +1,6 @@
app=hunspell
version=1.7.0
build=1sml
build=2sml
homepage="http://hunspell.github.io/"
download="https://github.com/hunspell/hunspell/files/2573619/hunspell-$version.tar.gz"
desc="Spell checker based on OpenOffice.org myspell library"
@ -18,8 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-static \
--disable-nls
--disable-static
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=libbytesize
version=2.6
build=1sml
build=2sml
homepage="https://github.com/rhinstaller/libbytesize"
download="https://github.com/storaged-project/libbytesize/archive/refs/tags/$version.tar.gz"
desc="Library for working with big sizes in bytes"
@ -20,8 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-static \
--disable-nls
--disable-static
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=libgpg-error
version=1.39
build=1sml
build=2sml
homepage="https://www.gnupg.org/software/libgpg-error/index.html"
download="https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-$version.tar.bz2"
desc="library that provides common error values and functions for all GnuPG components"
@ -17,8 +17,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls
--prefix=""
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=lvm
version=2.2.02.168
build=1sml
build=2sml
homepage="http://www.sourceware.org/lvm2/"
download="ftp://sources.redhat.com/pub/lvm2/releases/LVM$version.tgz"
desc="Collection of logical volume utilities"
@ -27,7 +27,6 @@ build() {
--disable-readline \
--enable-dmeventd \
--enable-cmdlib \
--disable-nls \
--enable-pkgconfig \
--enable-applib \
--with-thin=internal \

View file

@ -1,6 +1,6 @@
app=make
version=4.4
build=1sml
build=2sml
homepage="https://www.gnu.org/software/make/"
download="https://ftp.gnu.org/gnu/make/make-$version.tar.gz"
desc="GNU make utility to maintain groups of programs"
@ -21,7 +21,6 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls \
--without-guile
make

View file

@ -1,6 +1,6 @@
app=nano
version=3.2
build=2sml
build=3sml
homepage="http://www.nano-editor.org"
download="https://www.nano-editor.org/dist/v3/nano-$version.tar.xz"
desc="Nano's ANOther editor, an enhanced free Pico clone"
@ -18,8 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-nls
--docdir="/share/doc/$app-$version"
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=p11-kit
version=0.23.20
build=1sml
build=2sml
homepage="https://github.com/p11-glue/p11-kit"
download="https://github.com/p11-glue/p11-kit/archive/refs/tags/$version.tar.gz"
desc="tools to load and enumerate PKCS#11 modules"
@ -17,8 +17,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls
--prefix=""
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=parted
version=3.2
build=1sml
build=2sml
homepage="https://www.gnu.org/software/parted/"
download="https://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
desc="GNU disk partitioning tool"
@ -24,7 +24,6 @@ build() {
--prefix="" \
--sbindir=/bin \
--enable-threads=posix \
--disable-nls \
--disable-static
make

View file

@ -1,6 +1,6 @@
app=procps-ng
version=3.3.12
build=1sml
build=2sml
psmiscversion=23.3
homepage="http://sourceforge.net/projects/procps-ng/"
desc="Utilities for displaying process information"
@ -28,8 +28,7 @@ build() {
./configure \
--prefix="" \
--bindir=/bin \
--sbindir=/bin \
--disable-nls
--sbindir=/bin
make V=1 LDFLAGS="-all-static"
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=sudo
version=1.9.12p2
build=2sml
build=3sml
homepage="https://www.sudo.ws/"
download="https://www.sudo.ws/dist/sudo-$version.tar.gz"
desc="give limited root privileges to certain users"
@ -24,8 +24,7 @@ build() {
--docdir="/share/doc/$app-$version" \
--with-env-editor \
--disable-pam-session \
--without-pam \
--disable-nls
--without-pam
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=sysstat
version=12.5.5
build=1sml
build=2sml
homepage="http://sebastien.godard.pagesperso-orange.fr/"
download="http://pagesperso-orange.fr/sebastien.godard/sysstat-$version.tar.xz"
desc="System performance monitoring tools"
@ -22,8 +22,7 @@ build() {
sed -i 's@lib64@lib@g' configure
./configure \
--prefix="/" \
--disable-nls
--prefix="/"
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=texinfo
version=6.7
build=1sml
build=2sml
homepage="https://www.gnu.org/software/texinfo/"
download="https://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.xz"
desc="GNU software documentation system"
@ -17,8 +17,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls
--prefix=""
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=util-linux
version=2.33
build=3sml
build=4sml
homepage="https://github.com/karelzak/util-linux"
download="https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v$version/util-linux-$version.tar.xz"
desc="A huge collection of essential utilities"
@ -25,7 +25,7 @@ build() {
./configure \
--prefix="" --sbindir=/bin --libdir=/lib \
--includedir=/include \
--disable-nls --disable-fsck\
--disable-fsck\
--enable-libmount-support-mtab \
--disable-fdformat --disable-switch-root \
--disable-kill --disable-login --disable-sulogin --disable-su\

View file

@ -1,6 +1,6 @@
app=xz
version=5.2.5
build=2sml
build=3sml
homepage="https://tukaani.org/xz/"
download="https://tukaani.org/xz/xz-$version.tar.xz"
desc="Compression utility based on the LZMA algorithm"
@ -20,7 +20,6 @@ build() {
--prefix="" \
--bindir=/bin \
--docdir="/share/doc/$app-$version" \
--disable-nls \
--enable-static \
--with-pic

View file

@ -41,3 +41,4 @@ vim
xscreensaver
wxwidgets
adafruit-io
gthumb

View file

@ -1,6 +1,6 @@
app=dia
version=0.97.3
build=1sml
build=2sml
homepage="https://wiki.gnome.org/Apps/Dia"
download="https://download.gnome.org/sources/dia/0.97/dia-$version.tar.xz"
desc="Diagram creation app written in GTK2"
@ -24,8 +24,7 @@ build() {
--prefix="" \
--with-cairo \
--disable-gnome \
--with-hardbooks=no \
--disable-nls
--with-hardbooks=no
make || true
make install DESTDIR=$pkg || true

View file

@ -1,6 +1,6 @@
app=galculator
version=2.1.4
build=2sml
build=3sml
homepage="https://galculator.mnim.org/"
download="https://galculator.mnim.org/downloads/galculator-$version.tar.bz2"
desc="GTK calculator for GNOME"
@ -19,7 +19,6 @@ build() {
./configure \
--prefix="" \
--enable-gtk3 \
--disable-nls \
$builddist
make

View file

@ -1,6 +1,6 @@
app=gpaint
version=0.3.2
build=1sml
build=2sml
homepage="https://www.gnu.org/software/gpaint/"
download="ftp://alpha.gnu.org/gnu/gpaint/gpaint-2-$version.tar.gz"
desc="Simple and lightweight alternative to MS-paint written in GTK2"
@ -19,8 +19,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls
--prefix=""
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=vim
version=9.0.1000
build=1sml
build=2sml
homepage="https://www.vim.org/"
download="https://github.com/vim/vim/archive/refs/tags/v$version.tar.gz"
desc="Vi IMproved UNIX text editor"
@ -22,7 +22,7 @@ build() {
./configure \
--prefix="" \
--sysconfdir=/etc \
--disable-nls --disable-netbeans --disable-gui \
--disable-netbeans --disable-gui \
--with-x=no --enable-multibyte --with-features=normal \
--with-compiledby="<smlinux@pktsurf.in>" \
--enable-terminal

View file

@ -1 +0,0 @@
[ -x /etc/rc.d/rc.gtk ] && /etc/rc.d/rc.gtk

View file

@ -17,13 +17,12 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-gtk2
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}

View file

@ -1,6 +1,6 @@
app=libcanberra
version=0.30
build=1sml
build=2sml
homepage="https://0pointer.de/lennart/projects/libcanberra/"
download="https://0pointer.de/lennart/projects/libcanberra/libcanberra-$version.tar.xz"
desc="A small and lightweight implementation of the XDG Sound Theme Specification"
@ -18,6 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-oss \
--disable-static

View file

@ -1,6 +1,6 @@
app=libgsf
version=1.14.45
build=1sml
build=2sml
homepage="https://gitlab.gnome.org/GNOME/libgsf.git"
download="https://gitlab.gnome.org/GNOME/libgsf/-/archive/LIBGSF_1_14_45/libgsf-LIBGSF_1_14_45.tar.bz2"
desc="An extensible I/O abstraction library for dealing with structured file formats"
@ -19,7 +19,6 @@ build() {
./configure \
--prefix="" \
--disable-static \
--disable-nls \
--with-bz2
for i in po ; do

View file

@ -1,6 +1,6 @@
app=shared-mime-info
version=1.7
build=1sml
build=2sml
homepage="https://freedesktop.org/wiki/Software/shared-mime-info/"
download="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/Release-1-7/shared-mime-info-Release-1-7.tar.bz2"
desc="Freedesktop.org Shared MIME Info"
@ -18,8 +18,7 @@ prepbuilddir() {
build() {
ac_cv_func_fdatasync=no \
./configure \
--prefix="" \
--disable-nls \
--prefix=""
mkdir -p .deps
touch .deps/update_mime_database-update-mime-database.Tpo

View file

@ -37,5 +37,5 @@ build() {
sha512sums="
5b11fee74514e52b40f534b38b9ebe271ac707b1e560a7221b0f6b3fc422b339024ac955e3bba566bf20d70be0c7a99924db95b68483c3b0b6884ef89dbbec95 cgit-1.2.3.tar.lz
c7f768c987185b7af9f971577d2ce335962c8c60b50c167d8a19f937e40279eaa669a0265d5f7369041ab491dbafc62231041e362df6ce5866d7d4cd6ba66021 git-2.28.1.tar.lz
529a132f96cb9f7956bd68e2589a5f9722289d79e45171221595ea39c147028c53b1208f2fb1aed81741867718367c447dce2efb112d73d170c5dba93918dec4 git-2.28.1.tar.lz
"

View file

@ -1,6 +1,6 @@
app=libmicrohttpd
version=0.9.66
build=1sml
build=2sml
homepage="https://www.gnu.org/software/libmicrohttpd/"
download="https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-$version.tar.gz"
desc="Compact C library providing implementation of the HTTP 1.0 and 1.1 web server"
@ -19,8 +19,7 @@ build() {
./configure \
--prefix="" \
--disable-static \
--disable-https \
--disable-nls
--disable-https
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=lynx
version=2.8.9.19
build=1sml
build=2sml
homepage="https://lynx.invisible-island.net"
desc="A text-mode web browser"
requires="zlib netbsd-curses openssl libidn"
@ -24,7 +24,6 @@ build() {
--prefix="" \
--sysconfdir=/etc \
--with-ssl \
--disable-nls \
--enable-ipv6
make

View file

@ -1,6 +1,6 @@
app=mutt
version=1.10.1
build=1sml
build=2sml
homepage="https://www.mutt.org"
download="http://ftp.mutt.org/pub/mutt/mutt-$version.tar.gz"
desc="Advanced text-mode mail client"
@ -20,7 +20,6 @@ build() {
./configure \
--prefix="" \
--sysconfdir=/etc/mutt \
--disable-nls \
--disable-silent-rules \
--enable-imap \
--enable-pop \

View file

@ -1,6 +1,6 @@
app=nmap
version=7.40
build=1sml
build=2sml
homepage="https://nmap.org/"
download="https://nmap.org/dist/nmap-$version.tar.bz2"
desc="Advanced network exploration and security auditing tool"
@ -20,8 +20,7 @@ build() {
--prefix="" \
--sysconfdir=/etc \
--with-liblua=included \
--without-nmap-update \
--disable-nls
--without-nmap-update
make $MAKEFLAGS
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=redshift
version=1.12
build=1sml
build=2sml
homepage="http://jonls.dk/redshift/"
download="https://github.com/jonls/redshift/releases/download/v$version/redshift-$version.tar.xz"
desc="Tool to adjust colour temperature of computer screen based on users surroundings"
@ -21,8 +21,7 @@ build() {
--enable-drm \
--enable-randr \
--enable-vidmode \
--enable-geoclue2 \
--disable-nls
--enable-geoclue2
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=sylpheed
version=3.7.0
build=1sml
build=2sml
homepage="https://sylpheed.sraoss.jp/en/"
download="https://osdn.net/dl/sylpheed/sylpheed-$version.tar.xz"
desc="Simple, lightweight email client based on GTK+"
@ -20,8 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--disable-nls
--prefix=""
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=tor
version=0.4.1.6
build=1sml
build=2sml
homepage="https://www.torproject.org/"
download="https://archive.torproject.org/tor-package-archive/tor-$version.tar.gz"
desc="The second-generation onion router"
@ -19,6 +19,7 @@ build() {
./configure \
--prefix="" \
--sysconfdir=/etc \
--docdir="/share/doc/$app-$version" \
--disable-tool-name-check \
--enable-pic

View file

@ -1,6 +1,6 @@
app=weechat
version=3.8
build=1sml
build=2sml
homepage="http://www.weechat.org"
download="https://weechat.org/files/src/weechat-$version.tar.xz"
desc="Fast, modular text-mode IRC client"
@ -13,24 +13,24 @@ prepbuilddir() {
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./autogen.sh
}
build() {
LDFLAGS="-lcurses -lterminfo" \
./configure \
--prefix="" \
--disable-nls
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DENABLE_PHP=OFF \
-DENABLE_TCL=OFF \
-DENABLE_GUILE=OFF \
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
f2fe125d03e9c8f8b5b03e2cdd340c6cd65c463187bd213c9128a3df19da56ae38f1a6d20a47c09606d1504448e3d554de042e33cc57b73753ce8491595ef516 weechat-3.8.tar.xz
5e12e9cbaf617a2209ccf8486896fc06ef0e8c6fccf230fc9c0f1311ae503a48374bfe7689d737f838195c77b83b53f2331a4b6bb35e73e304d6958316c01bd0 weechat-3.8.tar.lz
"

View file

@ -1,6 +1,6 @@
app=wget
version=1.19
build=1sml
build=2sml
homepage="https://www.gnu.org/software/wget/"
download="https://ftp.gnu.org/gnu/wget/wget-$version.tar.gz"
desc="Non-interactive network resource retriever"
@ -20,7 +20,6 @@ build() {
--prefix="" \
--sysconfdir=/etc \
--with-ssl=openssl \
--disable-nls \
--disable-rpath
make

View file

@ -1,6 +1,6 @@
app=x2x
version=1.32
build=1sml
build=2sml
homepage="https://github.com/dottedmag/x2x"
download=""
desc="Utility that enables input devices on one X display to control another X display"
@ -10,7 +10,7 @@ prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar -xvf $srcdir/$app-$version.tar.?z*
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
@ -19,13 +19,12 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix="" \
--docdir="/share/doc/$app-$version"
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}

View file

@ -1,6 +1,6 @@
app=xfconf
version=4.16.0
build=1sml
build=2sml
homepage="https://docs.xfce.org/xfce/xfconf/start"
download="https://archive.xfce.org/xfce/4.16/src/xfconf-$version.tar.bz2"
desc="Xfce configuration storage system"
@ -19,8 +19,7 @@ build() {
./configure \
--prefix="" \
--disable-static \
--disable-nls
--disable-static
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=jasper
version=2.0.16
build=1sml
build=2sml
homepage="http://www.ece.uvic.ca/~mdadams/jasper/"
download="https://github.com/jasper-software/jasper/archive/refs/tags/version-$version.tar.gz"
requires="cmake libjpeg-turbo libxmu glew freeglut"
@ -21,6 +21,12 @@ build() {
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DLATEX_FOUND=NO
#-DJAS_ENABLE_DOC=OFF
# Fix fancy doc directory naming
sed -i "s@JasPer@jasper-$version@g" \
cmake_install.cmake \
doc/cmake_install.cmake
make
make install DESTDIR=$pkg

View file

@ -1,6 +1,6 @@
app=xtrans
version=1.4.0
build=1sml
build=2sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/lib/xtrans-$version.tar.bz2"
desc="X transport library"
@ -17,7 +17,8 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix="" \
--docdir="/share/doc/$app-$version"
make
make install DESTDIR=$pkg