Skip to content

Commit

Permalink
Cups: Update from version 1.7.5 to 2.2.11
Browse files Browse the repository at this point in the history
with version 1. ypu can't print with the new printserver
  • Loading branch information
david committed Apr 26, 2019
1 parent c180c8f commit 151bb40
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions cups.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env beesh

# BEE_VERSION cups-2.2.11-0

SRCURL[0]="https://github.com/apple/cups/releases/download/v${PKGVERSION}/cups-${PKGVERSION}-source.tar.gz"

# PATCHURL+=()

build_in_sourcedir

# sourcesubdir_append src


##mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
#
#}

mee_configure() {
start_cmd sed -i 's:444:644:' ${S}/Makedefs.in
start_cmd sed -i '/MAN.EXT/s:.gz::' ${S}/configure ${S}/config-scripts/cups-manpages.m4
start_cmd aclocal -I ${S}/config-scripts
start_cmd autoconf -I ${S}/config-scripts

bee_configure --with-rcdir=${PREFIX}/etc/kannweg \
--disable-libusb
}

#mee_build() {
# bee_build
#}

mee_install() {
bee_install BUILDROOT=${D}
}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {

start_cmd sed -i 's/pam_unknown.so/pam_unix.so/;s/nodelay/shadow nodelay/' \
${D}/etc/pam.d/cups

start_cmd rm -rf ${D}/var
start_cmd rm -rf ${D}${PREFIX}/etc/kannweg
start_cmd rm -rf ${D}/lib
}

0 comments on commit 151bb40

Please sign in to comment.