Upgraded base/asciidoc to 10.2.1

Upgraded base/pax-utils to 1.3.8
Upgraded base/x264 to 0.164
Rewrote base/docbook build file
Discarded unnecessary hidden files in base/json-c
Disabled support for native language support in base/libsecret,util-linux
Added /usr prefix to several base build files
This commit is contained in:
PktSurf 2024-10-20 22:51:59 +05:30
parent 959de424b4
commit bee36f4989
20 changed files with 148 additions and 200 deletions

View file

@ -1,24 +1,28 @@
# Maintainer: PktSurf <smlinux@pktsurf.in> # Maintainer: PktSurf <smlinux@pktsurf.in>
app=asciidoc app=asciidoc
version=9.0.4 version=10.2.1
build=1sml build=1sml
homepage="https://github.com/asciidoc/asciidoc-py3" homepage="https://github.com/asciidoc/asciidoc-py3"
download="" download=""
desc="Text document format for writing notes and documentation" desc="Text document format for writing notes and documentation"
requires="python3 libxslt docbook" requires="python3 libxslt docbook"
ignoreusrbin=1
prepbuilddir() { prepbuilddir() {
mkandenterbuilddir mkandenterbuilddir
rm -rf $app-"py3"-$version rm -rf $app-$version
tar xf $srcdir/$app-"py3"-$version.tar.?z* tar xf $srcdir/$app-$version.tar.?z*
cd $app-"py3"-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
autoreconf -vif
} }
build() { build() {
./configure \ ./configure \
--prefix= --prefix=/usr \
--bindir=/bin
make make
make install DESTDIR=$pkg make install DESTDIR=$pkg
@ -29,5 +33,5 @@ build() {
} }
sha512sums=" sha512sums="
df71bb8a35fc0099c34dcfbcfe8c182b59c5a8e86326a994fe722fea2c902fb56d221d8ae42a7b967daa4acc8cadd82ec9c85add48a8013ad04d295bf1d728c4 asciidoc-py3-9.0.4.tar.lz 02d064aab8dfb05af4ae49a7c7bd1381156c6c90f95b2494218c80f01c39987cb971d68c533b5519abade77be9832b3fab653d8ae2ca7bb682c5bb720612839f asciidoc-10.2.1.tar.gz
" "

View file

@ -4,8 +4,9 @@ version=1.0
build=1sml build=1sml
homepage="https://docbook.org" homepage="https://docbook.org"
download="" download=""
docbookv="4.5" xslstylesheetsver=1.79.2
xslv="1.79.2" xmldtdver=4.5
xmltover=0.0.28
desc="DocBook DTD for XML" desc="DocBook DTD for XML"
requires="libxslt libxml2" requires="libxslt libxml2"
@ -13,180 +14,156 @@ prepbuilddir() {
mkandenterbuilddir mkandenterbuilddir
rm -rf $app-$version rm -rf $app-$version
tar xf $srcdir/docbook-xml-$docbookv.tar.?z* tar xf $srcdir/docbook-xml-$xmldtdver.tar.?z*
cd docbook-xml-$docbookv cd docbook-xml-$xmldtdver
fixbuilddirpermissions fixbuilddirpermissions
} }
build() { build() {
xml_catalog="$pkg/etc/xml/catalog" xml_catalog="$pkg/etc/xml/catalog"
xml_docbook="$pkg/etc/xml/docbook" xml_docbookcatalog="$pkg/etc/xml/docbook"
cd docbook-4.5 cd docbook-4.5
install -d -m755 "$pkg"/share/xml/docbook/xml-dtd-4.5 # Install 4.x catalog:
install -d -m755 "$pkg"/etc/xml mkdir -vpm755 $pkg/usr/share/xml/docbook/xml-dtd-$xmldtdver
cp -fav docbook.cat *.dtd *.mod ent/ \
$pkg/usr/share/xml/docbook/xml-dtd-$xmldtdver
chown -R root:root . mkdir -vpm755 $pkg/etc/xml
cp -v -af docbook.cat *.dtd ent/ *.mod \ xmlcatalog --noout --create $xml_catalog
"$pkg"/share/xml/docbook/xml-dtd-"$docbookv" xmlcatalog --noout --create $xml_docbookcatalog
# Create the docbook and catalog
xmlcatalog --noout --create "$xml_docbook"
xmlcatalog --noout --create "$xml_catalog"
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V"$docbookv"//EN" \ "-//OASIS//DTD DocBook XML V${xmldtdver}//EN" \
"http://www.oasis-open.org/docbook/xml/"$docbookv"/docbookx.dtd" \ "http://www.oasis-open.org/docbook/xml/${xmldtdver}/docbookx.dtd" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML CALS Table Model V"$docbookv"//EN" \ "-//OASIS//DTD DocBook XML CALS Table Model V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/calstblx.dtd" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/calstblx.dtd" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/soextblx.dtd" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/soextblx.dtd" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Information Pool V"$docbookv"//EN" \ "-//OASIS//ELEMENTS DocBook XML Information Pool V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/dbpoolx.mod" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/dbpoolx.mod" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V"$docbookv"//EN" \ "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/dbhierx.mod" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/dbhierx.mod" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML HTML Tables V"$docbookv"//EN" \ "-//OASIS//ELEMENTS DocBook XML HTML Tables V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/htmltblx.mod" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/htmltblx.mod" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Notations V"$docbookv"//EN" \ "-//OASIS//ENTITIES DocBook XML Notations V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/dbnotnx.mod" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/dbnotnx.mod" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Character Entities V"$docbookv"//EN" \ "-//OASIS//ENTITIES DocBook XML Character Entities V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/dbcentx.mod" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/dbcentx.mod" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Additional General Entities V"$docbookv"//EN" \ "-//OASIS//ENTITIES DocBook XML Additional General Entities V${xmldtdver}//EN" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"/dbgenent.mod" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}/dbgenent.mod" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "rewriteSystem" \ xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/"$docbookv"" \ "http://www.oasis-open.org/docbook/xml/${xmldtdver}" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}" \
"$xml_docbook" $xml_docbookcatalog &&
xmlcatalog --noout --add "rewriteURI" \ xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/"$docbookv"" \ "http://www.oasis-open.org/docbook/xml/${xmldtdver}" \
"file:///share/xml/docbook/xml-dtd-"$docbookv"" \ "file:///usr/share/xml/docbook/xml-dtd-${xmldtdver}" \
"$xml_docbook" $xml_docbookcatalog || exit 1
xmlcatalog --noout --add "delegatePublic" \ xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//ENTITIES DocBook XML" \ "-//OASIS//ENTITIES DocBook XML" \
"file:///etc/xml/docbook" \ "file:///etc/xml/docbook" \
"$xml_catalog" $xml_catalog &&
xmlcatalog --noout --add "delegatePublic" \ xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook XML" \ "-//OASIS//DTD DocBook XML" \
"file:///etc/xml/docbook" \ "file:///etc/xml/docbook" \
"$xml_catalog" $xml_catalog &&
xmlcatalog --noout --add "delegateSystem" \ xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/" \ "http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \ "file:///etc/xml/docbook" \
"$xml_catalog" $xml_catalog &&
xmlcatalog --noout --add "delegateURI" \ xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/" \ "http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \ "file:///etc/xml/docbook" \
"$xml_catalog" $xml_catalog || exit 1
for DTDVERSION in 4.1.2 4.2 4.3 4.4
# Prep the older versions too
for DTDdocbookv in 4.1.2 4.2 4.3 4.4
do do
xmlcatalog --noout --add "public" \ xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V$DTDdocbookv//EN" \ "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
"http://www.oasis-open.org/docbook/xml/$DTDdocbookv/docbookx.dtd" \ "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
"$xml_docbook" $xml_docbookcatalog || exit 1
xmlcatalog --noout --add "rewriteSystem" \ xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/$DTDdocbookv" \ "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
"file:///share/xml/docbook/xml-dtd-$docbookv" \ "file:///usr/share/xml/docbook/xml-dtd-$xmldtdver" \
"$xml_docbook" $xml_docbookcatalog || exit 1
xmlcatalog --noout --add "rewriteURI" \ xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/$DTDdocbookv" \ "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
"file:///share/xml/docbook/xml-dtd-$docbookv" \ "file:///usr/share/xml/docbook/xml-dtd-$xmldtdver" \
"$xml_docbook" $xml_docbookcatalog || exit 1
xmlcatalog --noout --add "delegateSystem" \ xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/$DTDdocbookv/" \ "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
"file:///etc/xml/docbook" \ "file:///etc/xml/docbook" \
"$xml_catalog" $xml_catalog || exit 1
xmlcatalog --noout --add "delegateURI" \ xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/$DTDdocbookv/" \ "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
"file:///etc/xml/docbook" \ "file:///etc/xml/docbook" \
"$xml_catalog" $xml_catalog || exit 1
done done
tar xf $srcdir/docbook-xsl-nons-$xslstylesheetsver.tar.?z*
tar xf $srcdir/docbook-xsl-nons-$xslv.tar.?z* cd docbook-xsl-nons-$xslstylesheetsver
cd docbook-xsl-nons-$xslv
fixbuilddirpermissions fixbuilddirpermissions
applypatch $srcdir/non-recursive-string-subst.patch applypatch $srcdir/non-recursive-string-subst.patch
install -v -m755 -d "$pkg"/share/xml/docbook/xsl-stylesheets-"$xslv" install -v -m755 -d "$pkg/usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver"
cp -v -R VERSION common eclipse epub extensions fo highlighting html \ cp -v -R VERSION common eclipse epub extensions fo highlighting html \
htmlhelp images javahelp lib manpages params profiling \ htmlhelp images javahelp lib manpages params profiling \
roundtrip slides template tests tools webhelp website \ roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 \ xhtml xhtml-1_1 \
"$pkg/share/xml/docbook/xsl-stylesheets-$xslv" && "$pkg/usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" &&
( (
cd "$pkg/share/xml/docbook/xsl-stylesheets-$xslv" cd "$pkg/usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver"
ln -s VERSION VERSION.xsl ln -s VERSION VERSION.xsl
) )
install -v -m644 -D README \ xmlcatalog --noout --add "rewriteSystem" \
"$pkg"/share/doc/docbook-xsl-"$xslv"/README.txt "http://cdn.docbook.org/release/xsl-nons/$xslstylesheetsver" \
install -v -m644 RELEASE-NOTES* NEWS* \ "file://usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" \
"$pkg"/share/doc/docbook-xsl-"$xslv" $xml_catalog || exit 1
xmlcatalog --noout --add "rewriteURI" \
"http://cdn.docbook.org/release/xsl-nons/$xslstylesheetsver" \
"file://usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" \
$xml_catalog || exit 1
xmlcatalog --noout --add "rewriteSystem" \
"http://cdn.docbook.org/release/xsl-nons/current" \
"file://usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" \
$xml_catalog || exit 1
xmlcatalog --noout --add "rewriteURI" \
"http://cdn.docbook.org/release/xsl-nons/current/" \
"file://usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" \
$xml_catalog || exit 1
xmlcatalog --noout --add "rewriteSystem" \ xmlcatalog --noout --add "rewriteSystem" \
"http://cdn.docbook.org/release/xsl-nons/"$xslv"" \ "http://docbook.sourceforge.net/release/xsl/current" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \ "/usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" \
"$xml_catalog" && $xml_catalog || exit 1
xmlcatalog --noout --add "rewriteURI" \
xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/current" \
"http://cdn.docbook.org/release/xsl-nons/"$xslv"" \ "/usr/share/xml/docbook/xsl-stylesheets-$xslstylesheetsver" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \ $xml_catalog || exit 1
"$xml_catalog"
xmlcatalog --noout --add "rewriteSystem" \
"http://cdn.docbook.org/release/xsl-nons/current" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \
"$xml_catalog" &&
xmlcatalog --noout --add "rewriteURI" \
"http://cdn.docbook.org/release/xsl-nons/current" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \
"$xml_catalog"
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/"$xslv"" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \
"$xml_catalog" &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/"$xslv"" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \
"$xml_catalog"
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \
"$xml_catalog" &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/share/xml/docbook/xsl-stylesheets-$xslv" \
"$xml_catalog"
mkfinalpkg mkfinalpkg
} }

View file

@ -36,5 +36,5 @@ build() {
} }
sha512sums=" sha512sums="
90611e4daba7226d5ce8230843bf479dc71c0101740c005d851ef7c5b935b6cd4c42089b858abc1619adc05ed25fc7234f993690a76d2ea0b8e61bcbb7dc5a58 gawk-5.2.2.tar.xz b96e82265115800e703d3e2860f7d3463a827cf7e661d6227e8c5e711abeef63af3641cc411423f517d8a43c43be7ad68dd1ef3d7d90bceb6799b57746c9318f gawk-5.2.2.tar.lz
" "

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1 +0,0 @@
# dummy

View file

@ -1,25 +0,0 @@
language: cpp
compiler:
- gcc
- clang
os:
- linux
- osx
before_install:
- echo $LANG
- echo $LC_ALL
install:
- sh autogen.sh
before_script:
- ./configure
script:
- make
after_success:
- make check

View file

@ -19,9 +19,12 @@ prepbuilddir() {
build() { build() {
./configure \ ./configure \
--prefix= \ --prefix=/usr \
--bindir=/bin \
--disable-static \ --disable-static \
--disable-introspection --disable-introspection \
--disable-manpages \
--disable-nls
make make
make install DESTDIR=$pkg make install DESTDIR=$pkg

View file

@ -23,7 +23,7 @@ build() {
--prefix=/usr \ --prefix=/usr \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--disable-install-bins --disable-install-bins
make make
make install DESTDIR=$pkg make install DESTDIR=$pkg

View file

@ -1,11 +1,11 @@
# Maintainer: PktSurf <smlinux@pktsurf.in> # Maintainer: PktSurf <smlinux@pktsurf.in>
app=pax-utils app=pax-utils
version=1.3.7 version=1.3.8
build=1sml build=1sml
homepage="https://github.com/gentoo/pax-utils" homepage="https://github.com/gentoo/pax-utils"
download="https://github.com/gentoo/pax-utils/archive/refs/tags/v$version.tar.gz" download="https://github.com/gentoo/pax-utils/archive/refs/tags/v$version.tar.gz"
desc="ELF utilities for performing security checks on files" desc="ELF utilities for performing security checks on files"
requires="pyelftools" requires="pyelftools docbook"
prepbuilddir() { prepbuilddir() {
mkandenterbuilddir mkandenterbuilddir
@ -17,9 +17,11 @@ prepbuilddir() {
} }
build() { build() {
mkdir smbuild && cd smbuild mkdir -p smbuild && cd smbuild
meson .. \ meson .. \
--prefix=/ --prefix=/usr \
--bindir=/bin \
-Dbuild_manpages=enabled
ninja ninja
DESTDIR="$pkg" ninja install DESTDIR="$pkg" ninja install
@ -30,5 +32,5 @@ build() {
} }
sha512sums=" sha512sums="
64d61169cebf013401de442bbf2deae4b25eb3d07c90643775ea6443005b16783f41ceb41f398850507ed24c4a2d2c3f8552e047a574d884fbf314145bb8e6f9 pax-utils-1.3.7.tar.lz 19153a007511a6a1d7c6900a9bf33756e9aed685d2df7d49bd3b359cd14e74ea778ea8082786fb526f9431d21a1e0f8d14fbe2979795609c9eac8042f57b131d pax-utils-1.3.8.tar.lz
" "

View file

@ -19,11 +19,11 @@ prepbuilddir() {
build() { build() {
mkdir -p smbuild && cd smbuild mkdir -p smbuild && cd smbuild
cmake .. \ cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPHYSFS_BUILD_SHARED=ON \ -DPHYSFS_BUILD_SHARED=ON \
-DPHYSFS_BUILD_STATIC=OFF \ -DPHYSFS_BUILD_STATIC=OFF \
-DPHYSFS_BUILD_TEST=OFF \ -DPHYSFS_BUILD_TEST=OFF \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
make make
make install DESTDIR=$pkg make install DESTDIR=$pkg

View file

@ -1,7 +1,7 @@
# Maintainer: PktSurf <smlinux@pktsurf.in> # Maintainer: PktSurf <smlinux@pktsurf.in>
app=util-linux app=util-linux
version=2.33 version=2.33
build=4sml build=1sml
homepage="https://github.com/karelzak/util-linux" 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" 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" desc="A huge collection of essential utilities"
@ -21,24 +21,24 @@ prepbuilddir() {
} }
build() { build() {
CFLAGS="$CFLAGS -include sys/sysmacros.h" \
LDFLAGS="-lcurses -lterminfo" \ LDFLAGS="-lcurses -lterminfo" \
./configure \ ./configure \
--prefix= --bindir=/bin --sbindir=/bin --libdir=/lib \ --prefix=/ --bindir=/bin --sbindir=/bin --mandir=/usr/share/man \
--includedir=/include \ --disable-fsck --includedir=/usr/include --libdir=/usr/lib \
--disable-fsck\ --with-bashcompletiondir=/usr/share/bash-completion/completions \
--datarootdir=/usr/share \
--enable-libmount-support-mtab \ --enable-libmount-support-mtab \
--disable-fdformat --disable-switch-root \ --disable-fdformat --disable-switch-root \
--disable-kill --disable-login --disable-sulogin --disable-su\ --disable-kill --disable-login --disable-sulogin --disable-su \
--disable-more --disable-pg --disable-agetty \ --disable-more --disable-pg --disable-agetty \
--without-systemd --disable-wdctl --enable-libuuid \ --without-systemd --disable-wdctl --enable-libuuid \
--enable-libblkid --enable-libmount --disable-uuidd \ --enable-libblkid --enable-libmount --disable-uuidd \
--enable-static-programs="mount,umount" \ --enable-static-programs="mount,umount" \
--without-python --without-python --disable-nls
sed -i 's,/sbin,/bin,' config.status sed -i 's,/sbin,/bin,' config.status
./config.status ./config.status
make make
make install DESTDIR=$pkg make install DESTDIR=$pkg
@ -48,12 +48,9 @@ build() {
mv mount.static mount mv mount.static mount
mv umount.static umount mv umount.static umount
) )
cp COPYING $pkgdocs/ cp COPYING $pkgdocs/
# rev is provided by busybox which is statically-linked
rm $pkg/bin/rev
mkfinalpkg mkfinalpkg
} }

View file

@ -1,18 +1,17 @@
# Maintainer: PktSurf <smlinux@pktsurf.in> # Maintainer: PktSurf <smlinux@pktsurf.in>
app=x264 app=x264
version=0.155 version=0.164
build=1sml build=1sml
longversion=snapshot-20180831-2245-stable
homepage="http://www.videolan.org/developers/x264.html" homepage="http://www.videolan.org/developers/x264.html"
desc="free h264/avc encoder" desc="free h264 encoder"
requires="nasm" requires="nasm"
prepbuilddir() { prepbuilddir() {
mkandenterbuilddir mkandenterbuilddir
rm -rf "$app-$longversion" rm -rf "$app-$version"
tar xf $srcdir/$app-$longversion.tar.?z* tar xf $srcdir/$app-$version.tar.?z*
cd "$app-$longversion" cd "$app-$version"
fixbuilddirpermissions fixbuilddirpermissions
} }
@ -21,7 +20,8 @@ build() {
unset CFLAGS CXXFLAGS unset CFLAGS CXXFLAGS
./configure \ ./configure \
--prefix= \ --prefix=/usr \
--bindir=/bin \
--enable-shared --enable-shared
make make
@ -33,5 +33,5 @@ build() {
} }
sha512sums=" sha512sums="
e2472af814c2bf57c0ce293e0b74ca27cd567874ba953dcf995470ba2357b4c1b27a2c51b0033c01afff9d9897ed78f53ca4be30e24036106ec2df5671234223 x264-snapshot-20180831-2245-stable.tar.lz e113a7759528be56c93d2a446ad3b89613f2e3182b03a4631073df3058cc17f5991caf6bd495ebf6602e7ebb515000b871dcd3600e966a91c4ab84f502d26e8f x264-0.164.tar.lz
" "