Skip to content

Commit

Permalink
Merge pull request #1082 from mariux64/update-cups
Browse files Browse the repository at this point in the history
Update CUPS
  • Loading branch information
pmenzel authored Apr 26, 2019
2 parents ae5ea0e + 151bb40 commit 2995af5
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 21 deletions.
21 changes: 0 additions & 21 deletions cups-1.7.5-0.bee

This file was deleted.

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 2995af5

Please sign in to comment.