mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
ports: cups
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
name=cups
|
||||||
|
revision=1
|
||||||
|
from_source=cups
|
||||||
|
imagedeps="build-essential xdg-utils"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="base libiconv zlib"
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
cp -r "${source_dir}/." "."
|
||||||
|
./configure \
|
||||||
|
--prefix=${prefix} \
|
||||||
|
--host=x86_64-astral \
|
||||||
|
--with-rcdir=/tmp/cupsinit \
|
||||||
|
--with-docdir=/usr/share/cups/doc \
|
||||||
|
--disable-dbus \
|
||||||
|
--disable-gssapi \
|
||||||
|
--disable-pam \
|
||||||
|
--disable-browsing \
|
||||||
|
--with-tls=no \
|
||||||
|
--with-components=libcups
|
||||||
|
sed -i s/-Werror//g Makedefs
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install -j${parallelism}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=cups
|
||||||
|
version=2.4.11
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://github.com/OpenPrinting/cups/releases/download/v2.4.11/cups-2.4.11-source.tar.gz"
|
||||||
|
tarball_sha512=5868f069cb5eaa5c74e703ed7773914376fb819ebabd7881df8726092eab390c8a1db75c4d08377a836a87807765ad2c16a15b406ab0580fdda2b176e2da3162
|
||||||
|
hostdeps="automake autoconf"
|
||||||
|
prepare() {
|
||||||
|
cp -v $(find /usr/local/share/automake* -name config.sub) .
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user